binary-diff
Skill by sickn33
Migrates symbol names from an old, symbolized binary build to a new stripped build. It uses LLM comparison of exported disassembly and pseudocode, aimed at reverse engineers who work with IDA Pro after software updates.
Install binary-diff
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/binary-diff ~/.claude/skills/binary-diffRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/binary-diff ~/.gemini/antigravity-cli/skills/binary-diffAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
binary-diff is an agent skill for moving reverse engineering results between versions of a binary. It targets cases where an old build has symbols and the new build does not, such as a program update or a kernel module without a matching PDB. The skill compares the old and new versions of the same function, using disassembly and pseudocode exported from IDA, and asks an LLM to find which old symbols correspond to code in the new build.
The LLM returns YAML with five reference types: direct calls, virtual calls, function pointers, global variables and struct offsets. The source says the LLM only proposes candidate mappings, so results must be checked before they are applied in a copy of the IDB. It recommends starting from reliable anchors such as exported functions and string references, then repeating the process outward. The skill is for analysts who have IDA Pro and access to an LLM API endpoint.
Written from the project's SKILL.md and checked against it.
What it can do
- Cross-version name migrationMaps symbols from an old, symbolized build onto the matching functions in a new build.
- Structured LLM comparisonFills a fixed prompt template with old and new disassembly and pseudocode, then parses the YAML reply.
- Direct call mappingIdentifies which new call targets correspond to named functions in the old build.
- Virtual call mappingRecords indirect virtual function calls with their vtable offsets as candidate comments.
- Function pointer and global variable mappingMaps function pointer targets and global variable references to names from the old build.
- Struct offset mappingMaps struct member accesses to struct and member names from the old build.
- Anchor-based iterationTreats migrated functions as new anchors and repeats the comparison on their callees.
What you need
- IDA Pro
- Python
- PyYAML
- An LLM API endpoint and API key
Try asking
- Compare the old and new builds of this function and list candidate symbol names.
- Migrate the named functions from target.exe v1.0 to v1.1 using exported functions as anchors.
- Show the YAML candidates for call and global variable mappings before applying any renames.
Good to know
- The LLM only generates candidate mappings and does not guarantee accuracy, time or cost.
- Diff quality degrades with heavy recompilation or obfuscation between versions.
- Requires local diff tooling such as BinDiff, Diaphora or radiff2 for some workflows.
- Only analyze binaries you are authorized to analyze.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/binary-diff/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/prompt-template.md5 KB
Alternatives to binary-diff
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
binary-diff: common questions
Does binary-diff recover symbols from a stripped binary without a PDB?
The source says it can recover function names in cases where an old version has symbols and the new version does not, such as a kernel without a matching PDB. It says the names are candidates that need verification.
Which tools does binary-diff need?
The source lists IDA Pro for exporting disassembly and pseudocode, Python, PyYAML and an LLM API endpoint. IDA Pro is described as commercial software.
Are the suggested names authoritative?
No. The source says candidate names should not be treated as authoritative and that key symbols should be verified by manual review.
How do I install binary-diff?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is binary-diff free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is binary-diff safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to binary-diff?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
