tags:

views:

39

answers:

1

How to disassemble file after use strip command in gdb?

A: 

You can use GDB x/i command, e.g.

(gdb) x/4i 0x400390
   0x400390:    xor    %ebp,%ebp
   0x400392:    mov    %rdx,%r9
   0x400395:    pop    %rsi
   0x400396:    mov    %rsp,%rdx

But what you are probably looking for is objdump -d a.out

Employed Russian