Mac: godjdump and greadelf (Linu
2016-07-14 本文已影响283人
Genovia
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)