Converting assembly code to C code
39,588
Solution 1
You cannot go backward to the original C but can do a static binary translation into C that is equivalent to the machine instruction.
Solution 2
Solution 3
The term you are looking for is 'decompiler'. Check here for a discussion:
http://en.wikibooks.org/wiki/X86_Disassembly/Disassemblers_and_Decompilers#Decompilers
Solution 4
I used IDAPro in the past and it does a pretty good job doing what you need.
Check it out.
Author by
Brian
Updated on December 30, 2020Comments
-
Brian over 3 years
What process can be used to convert assembly code into equivalent C code? What kind of tools can be leveraged for higher result accuracy?