asm-testing
CommunityVerify and debug assembly code
AuthorAeonDave
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured workflow to ensure the correctness and performance of hand-written assembly code, catching errors early in the development cycle.
Core Features & Use Cases
- ABI Compliance: Ensures assembly functions adhere to calling conventions to prevent runtime crashes.
- Structural Analysis: Uses
objdumpto verify function prologues, epilogues, and symbol exports. - Unit Testing: Facilitates writing C harnesses to test assembly functions with various inputs.
- Debugging: Integrates with GDB/LLDB for step-by-step execution and register inspection.
- Performance Measurement: Enables cycle-accurate measurement of assembly function execution time.
- Use Case: You've written a performance-critical function in x86-64 assembly and need to rigorously verify its correctness and measure its cycle count before integrating it into a larger C project.
Quick Start
Use the asm-testing skill to verify the ABI compliance and structural integrity of your new 'my_fn.o' assembly object file.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: asm-testing Download link: https://github.com/AeonDave/malskill/archive/main.zip#asm-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.