objdump and readelf

  编译器  arm-linux-gcc

arm-linux-gcc hello.c -o hello

  反汇编器  arm-linux-objdump

arm-linux-objdump -D -S hello
//-D, --disassemble-all Display assembler contents of all sections
//-S, --source Intermix source code with disassembly
  ELF文件查看工具  arm-linux-readelf
arm-linux-readelf -a hello 
//check the data and machine
arm-linux-readelf -d hello 
//查看hello使用的动态库 shared library

  

 

 

posted on 2013-02-07 14:01  plinx  阅读(344)  评论(1编辑  收藏  举报

导航