Assembly – objdump

Course notes from Vivek Ramachandran’s online class “x86/64 Assembly and Shellcoding on Linux

A useful tool in Kali is objdump.  Objdump is a quick disassembler that can show the contents of object files.

Below is a screenshot example of its use:

Screen Shot 2015-11-05 at 11.11.54 AM

objdump -D -M intel [filename] instructs the utility to Disassemble an object file and provide us output in intel format (as opposed to AT&T format.)

The output here is in several columns.  Assembly is listed on the right side of the screen.  It is seem with instructions like:

mov eax, 0x1 
add rax, 0x1

To the left are the hex value equivalents of the assembly code.  While we write in assembly, the hex values are what the processor will digest and understand.

Posted in: ASM

Leave a Reply

Your email address will not be published. Required fields are marked *