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

  

 
原文地址:https://www.cnblogs.com/plinx/p/2908706.html