Assembly Code Extractor

•
3
•

Extracts and cleans assembly instructions from object files and assembly source code across multiple platforms.

The extract-asm skill automates the complex task of inspecting compiled machine code by providing a unified interface for disassembly. It intelligently selects the correct platform-specific tools—such as llvm-objdump on macOS/Windows and objdump on Linux—to extract assembly for specific functions or entire files. By automatically filtering out noisy assembler directives and handling C/C++ name mangling, it allows developers to focus on instruction-level analysis for performance optimization, low-level debugging, and verifying compiler output without manual toolchain configuration.

주요 기능

01Targeted function extraction with automatic C/C++ name mangling resolution
02Clean output filtering that removes assembler directives, comments, and noise
03Integrated instruction count summary for rapid performance benchmarking
04Cross-platform support for macOS (Mach-O), Linux (ELF), and Windows (PE/COFF)
05Support for multiple architectures including x86-64 and AArch64 (Apple Silicon)
063 GitHub stars

사용 사례

01Debugging low-level crashes by inspecting disassembled object files
02Verifying compiler optimizations for performance-critical code segments
03Auditing security-sensitive functions at the instruction level