I am debugging a c program with gdb in linux terminal, I disassembled it and ran it, then tried to find the memory address the the EIP register. This is what happened:
(gdb) i r eip Invalid register `eip'
Why does it say that my eip register is invalid?
Is it a 64-bit program? If so, it's rip, not eip.
Depending on your program's architecture the register can change:
ip
eip
rip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With