{"id":536,"date":"2015-07-10T11:14:21","date_gmt":"2015-07-10T03:14:21","guid":{"rendered":"http:\/\/www.datarelab.com\/blog\/?p=536"},"modified":"2015-07-10T11:14:21","modified_gmt":"2015-07-10T03:14:21","slug":"readelf%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.datarelab.com\/blog\/Technical_literature\/536.html","title":{"rendered":"readelf\u547d\u4ee4\u7684\u4f7f\u7528"},"content":{"rendered":"<p>readelf\u547d\u4ee4\u662fLinux\u4e0b\u7684\u5206\u6790ELF\u6587\u4ef6\u7684\u547d\u4ee4\uff0c\u8fd9\u4e2a\u547d\u4ee4\u5728\u5206\u6790ELF\u6587\u4ef6\u683c\u5f0f\u65f6\u975e\u5e38\u6709\u7528\uff0c\u4e0b\u9762\u4ee5ELF\u683c\u5f0f\u53ef\u6267\u884c\u6587\u4ef6test\u4e3a\u4f8b\u8be6\u7ec6\u4ecb\u7ecd\uff1a<br \/>\nreadelf -v \u663e\u793a\u7248\u672c<br \/>\nreadelf -h \u663e\u793a\u5e2e\u52a9<br \/>\nreadelf -a test \u663e\u793atest\u7684\u5168\u90e8\u4fe1\u606f<br \/>\nreadelf -h test \u663e\u793atest\u7684ELF Header\u7684\u6587\u4ef6\u5934\u4fe1\u606f\uff08\u5c31\u662fELF\u6587\u4ef6\u5f00\u59cb\u7684\u524d52\u4e2a\u5b57\u8282\uff09<br \/>\nreadelf -l test \u663e\u793atest\u7684Program Header Table\u4e2d\u7684\u6bcf\u4e2aPrgram Header Entry\u7684\u4fe1\u606f\uff08\u5982\u679c\u6709\uff09<br \/>\nreadelf -S test \u663e\u793atest\u7684Section Header Table\u4e2d\u7684\u6bcf\u4e2aSection Header Entry\u7684\u4fe1\u606f\uff08\u5982\u679c\u6709\uff09<br \/>\nreadelf -g test \u663e\u793atest\u7684Section Group\u7684\u4fe1\u606f\uff08\u5982\u679c\u6709\uff09<br \/>\nreadelf -s test \u663e\u793atest\u7684Symbol Table\u4e2d\u7684\u6bcf\u4e2aSymbol Table Entry\u7684\u4fe1\u606f\uff08\u5982\u679c\u6709\uff09<br \/>\nreadelf -e test \u663e\u793atest\u7684\u5168\u90e8\u5934\u4fe1\u606f\uff08\u5305\u62ecELF Header\uff0cSection Header\u548cProgram Header\uff0c\u7b49\u540c\u4e0e readelf -h -l -S test\uff09<br \/>\nreadelf -n test \u663e\u793atest\u7684note\u6bb5\u7684\u4fe1\u606f\uff08\u5982\u679c\u6709\uff09<br \/>\nreadelf -r test \u663e\u793atest\u4e2d\u7684\u53ef\u91cd\u5b9a\u4f4d\u6bb5\u7684\u4fe1\u606f\uff08\u5982\u679c\u6709\uff09<br \/>\nreadelf -d test \u663e\u793atest\u4e2d\u7684Dynamic Section\u7684\u4fe1\u606f\uff08\u5982\u679c\u6709\uff09<br \/>\nreadelf -V test \u663e\u793atest\u4e2d\u7684GNU Version\u6bb5\u4fe1\u606f\uff08\u5982\u679c\u6709\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>readelf\u547d\u4ee4\u662fLinux\u4e0b\u7684\u5206\u6790ELF\u6587\u4ef6\u7684\u547d\u4ee4\uff0c\u8fd9\u4e2a\u547d\u4ee4\u5728\u5206\u6790ELF\u6587\u4ef6\u683c\u5f0f\u65f6\u975e\u5e38\u6709\u7528\uff0c\u4e0b\u9762\u4ee5ELF\u683c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-536","post","type-post","status-publish","format-standard","hentry","category-Technical_literature"],"views":1670,"_links":{"self":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/comments?post=536"}],"version-history":[{"count":0,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/536\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/media?parent=536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/categories?post=536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/tags?post=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}