Sokolotov
Sokolotov

Reputation: 37

How to execute a disassembled ELF instruction by instruction?

I need to do some observations on a disassembled ELF and for that i kind of need to execute the program instruction by instruction (disassembled). Including the part the part where it jumps to other ELF sections like .plt or .got. Any idea how to achieve that?

Upvotes: 0

Views: 118

Answers (1)

Aplet123
Aplet123

Reputation: 35512

I recommend you get a tool like gef to help make your gdb output pretty and then you step through the program with si in order to go instruction by instruction and take every jump, even into the plt and external libraries such as libc.

Upvotes: 3

Related Questions