Jason Turley's Website

xd cheatsheet

I am often forgetting the command switches for static analysis tools like objdump, xxd and rabin2. So these notes will server as my quick reference cheatsheet.

objdump

CommandDescription
objdump -M intelUse the superior intel syntax
objdump -j .textOnly dump the text section
objdump -DDisassemble all data/code in every section of the ELF file
objdump -dDisassemble only program code in an ELF file
objdump -hDisplay summary information from the section headers of the object file
objdump -tTView all symbols

rabin2

CommandDescription
rabin -z objDump strings with section info
rabin -I objDisplay general information about a binary
rabin2 -i objDisplay imported functions/symbols
rabin2 -l objDisplay the linked libraries

rax2

CommandDescription
rax2 -s 63 6f 6f 6chex sting to characters
rax -S C J i l kcharacters to hex string

#cheatsheets #reversing