objdump -S  a.out      反汇编!!!!!

objdump -d a.out        反汇编       

 

a@65-server:~/learn$ objdump

-p, --private-headers Display object format specific file header contents
-h, --[section-]headers Display the contents of the section headers
-x, --all-headers Display the contents of all headers
-d, --disassemble Display assembler contents of executable sections

-S, --source             Intermix source code with disassembly

 

GCC编译过程
-------------------------------------
    Pre-Processing   cpp        预处理       gcc -E  可以查看
    Compiling        ccl        编译              gcc -S  可以得到
    Assembling       as         汇编          gcc -c  进行汇编
    Linking          ld         链接

 

 

posted on 2012-06-29 14:45  肯定;爱  阅读(695)  评论(0编辑  收藏  举报