matching-decomp
Installation
SKILL.md
Matching Decompilation
The goal is not merely to understand a function. The goal is to reproduce the target machine code under the project's exact compiler, flags, linker and translation-unit conditions.
Success criterion: the project's authoritative comparison reports an exact match.
1. Inspect before editing
Identify:
- architecture, endianness and ABI;
- compiler/toolchain and exact flags;
- build system and authoritative compare command;
- target source/translation unit;
- objdiff/decomp.me configuration;
- existing typedefs, structs and macros;
- nearby already-matching functions.
Do not assume ELF, x86_64, Ninja, or a particular compare command.