elf文件格式

1.readelf -p .comment modeset1  查看elf可执行文件是由哪个版本的编译器编译的
  eg.$ readelf -p .comment modeset1
  String dump of section '.comment':
  [ 0] GCC: (Linaro GCC 5.2-2015.11-2) 5.2.1 20151005

2.readelf -Wa modeset1 | head 查看elf文件头

3.readelf -wi a.out 查看elf文件信息

4.objdump -s --section .comment modeset1 查看.comment段的信息

 

参考:

https://www.cnblogs.com/Robotke1/archive/2013/04/26/3045439.html

posted on 2018-07-25 17:10  Hello-World3  阅读(180)  评论(0编辑  收藏  举报

导航