您的位置:首页 > 运维架构 > Shell

Shell之readelf命令简介

2015-11-25 00:31 483 查看
●readelf分析ELF文件
⊙readelf -v	显示版本
⊙readelf -h	显示帮助
⊙readelf -a test	显示test的全部信息
⊙readelf -h test
显示ELF的Header信息(文件的前52字节)
⊙readelf -l test
显示test的Program Header Table中的每个Prgram Header Entry的信息
⊙readelf -S test
显示test的Section Header Table中的每个Section Header Entry的信息
⊙readelf -g test
显示test的Section Group的信息
⊙readelf -s test
显示test的Symbol Table中的每个Symbol  Table Entry的信息
⊙readelf -e test
显示test的全部头信息(等同与 readelf -h -l -S test)
⊙readelf -n test
显示test的note段的信息
⊙readelf -r test
显示test中的可重定位段的信息
⊙readelf -d test
显示test中的Dynamic Section的信息
⊙readelf -V test
显示test中的GNU Version段信息
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: