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         链接

 

 

相关文章:

  • 2021-11-07
  • 2021-09-20
  • 2021-09-26
  • 2021-07-23
  • 2021-11-21
  • 2021-11-05
  • 2021-09-24
猜你喜欢
  • 2021-07-12
  • 2021-07-19
  • 2021-10-09
  • 2021-04-05
  • 2021-06-28
相关资源
相似解决方案