Objdump Wrappers


A series of perl scripts which convert x86 objdump output to an intermediate format and perform analysis upon it. Useful as a basis for creating an objdump-based disassembly toolchain.

Usage:

echo "%08_ax: " 8/1 "%02x " " - " 8/1 "%02x " " |" > ~/.hexdump_fmt

echo "%_p" >> ~/.hexdump_fmt

echo "\n" >> ~/.hexdump_fmt

alias hd='hexdump -f ~/.hexdump_fmt'

(objdump -hw -Ttd a.out; hd a.out) | int_code.pl | insn_xref.pl | insn_output.pl


Files:


  • int_code.pl
  • insn_xref.pl
  • insn_list.pl
  • insn_output.pl