Understand the Decompile-Eval evaluation methodology
mainDecompile-Eval evaluates the re-executability of decompilation systems rather than relying on N-gram or edit similarity (like BLEU or ES), which can be misleading.
The evaluation process follows these steps:
- Compilation: The original C source code is compiled into a binary using the GCC compiler.
- Disassembly: The binary is disassembled into assembly code.
- Decompilation: The assembly code is fed into the decompilation system to reconstruct C source code.
- Execution Check: The regenerated C code is combined with the original assertions (
c_test) to verify if it can successfully execute and pass all assertions.