int32_t add(int32_t a, int32_t b) return a + b;
add: lea eax, [rdi + rsi] ret A decompiler might output:
Here’s a concise technical piece on : Peeling Back the Machine: A Short Piece on C Decompilation A decompiler for C is a program that attempts to reverse the process of compilation: given a low-level binary (executable, object file, or even raw machine code), it tries to produce human-readable C code that behaves identically to the original.