how to convert C executable into Assembly Code
Hi, I want to convert C executable into Assembly code.Can some one please tell me how to do this.using "cc -S file.c" will only convert c program into assembly code but I want the executable file to convert into assembly code.Thanks in anticipation...
|
Do "objdump -d a.out" where a.out is the executable. If you want more interactive dissassembly (i.e. jump and call referencing) get ldasm which is a gui frontend for objdump.
|
Run this command: 'objdump -d file' where file is the executable.
http://www.gnu.org/software/binutils...inutils_4.html |
Thanks and what is the syntax for "ldasm"?
|
Quote:
For reference however, all good command line apps will give you some usage details by running "appname --help" |
All times are GMT -5. The time now is 05:29 AM. |