Can someone explain the output of this disassemly snippet?
- by Mask
I used two different command x/w and disas at the same address 0x405130,get totally different output:
(gdb) x/w 0x405130
0x405130 <_imp__printf>: 0x77c1186a
(gdb) disas 0x405130
Dump of assembler code for function _imp__printf:
0x00405130 <_imp__printf+0>: push $0x18
0x00405132 <_imp__printf+2>: (bad)
0x00405133 <_imp__printf+3>: ja 0x405109 <_imp___iob+1>
End of assembler dump.
I don't understand why it's like this,can anyone explain it?