Displaying 2 results from an estimated 2 matches for "debugger_trap_entry".
2008 Jun 24
3
Question related to Single-step execution and Emulation
...there, again I set X86_EFLAGS_TF flag to get guest trapped for next instruction and so on. When i want it to be end I will set X86_EFLAGS_RF flag.
However, when I perform above-mentioned procedure I get to see a message "Trace/breakpoint trap" in my guest OS only once and my do_debug or (debugger_trap_entry method with vector = Trap_debug) does not get invoked at all inside Xen. Since trap is not coming into Xen, I am not able to get the control after execution of instructions.
It seems like with my above-described method, I am injecting TRAP_debug exception for the instruction that I emulate inside...
2013 Jul 09
1
set the eflags.tf of VM
hi,all
has anyone set the eflags.TF of vm?
I want to introdeuce a VM into single-step by setting the eflags.TF
of vm, then I disassemble the bytes at RIP to figure out what''s going on .
I have set the trap flag ,but I didn''t achieve what I want. First, I
only get hlt,mov, rdtsc, clts, in, out . Second, the VM always crash.
does anyone have experience and give