美文网首页
Mac: godjdump and greadelf (Linu

Mac: godjdump and greadelf (Linu

作者: Genovia | 来源:发表于2016-07-14 15:23 被阅读283次

gobjdump

mac's gobjdump is linux's objdump.

"man gobjdump" to get help:

most used gobjdump parameters:

-d: Disassembly of section .text:(反汇编)

-t: get the symbols table(symtab,符号表)

-r : get the relocation records(rel.text and rel.data,重定位表)

-x: get all sections

tips:we can combine to use -rd to get the relocation parts in disassemble

greadelf

-a : get all sections (like gobjdump -x, but it has better readability than gobjdump)

相关文章

网友评论

      本文标题:Mac: godjdump and greadelf (Linu

      本文链接:https://www.haomeiwen.com/subject/aalejttx.html