Debugging guest OS / tracing instruction pointer
A message that is not in the archive (sent off-list or not yet received): [email protected]
hi!
i'm looking for a way to monitor the eip register. is there a simple way to do this? i know that that produces tons of data...
even better would be to know where i could intercept the main-loop (exec_cpu ??) to check for a certain eip value...
could someone assist me doing that?
thanks!
Quoted 6 lines · Clemens Kolbitsch
hi!
i'm looking for a way to monitor the eip register. is there a simple way to do this? i know that that produces tons of data...even better would be to know where i could intercept the main-loop (
exec_cpu??) to check for a certain eip value...
qemu already has mechanisms for supporting debugger breakpoints. Sounds like you want something very similar.
Paul
Quoted 6 lines · Paul Brook
Quoted 4 lines · Clemens Kolbitsch
hi!
i'm looking for a way to monitor the eip register. is there a simple way to do this? i know that that produces tons of data...
Quoted 8 lines
Quoted 3 lines
even better would be to know where i could intercept the main-loop (
exec_cpu??) to check for a certain eip value...qemu already has mechanisms for supporting debugger breakpoints. Sounds like you want something very similar.
Paul
the thing is: i want to monitor the eip... or where the code will jump NEXT. the code there is never executed (as it results in a kernel failure)
e.g. i know a buffer overflow will set the return-pointer to 0xABCD and "ret" is executed i want the breakpoint to hit
when using casual breakpoints, i think the code there must be executed (i.e. the jump must be successful .. what will definitely not be the case with 0xABCD)
thanks!