Message board for the users of flat assembler.
> Main > Trap Flag (single step exception)
false, not in all cases.
In this case, the "single step exception" is triggered before
mov ebx,dr7 bts ebx,13 mov dr7,ebx pushfd bts dword[esp],8 popfd ;--(abc)--> here (single step exception) mov eax,dr6 ;---------> NOT here ;stack at "abc" ;-------------- ; flags ; cs ; eip -----> mov eax,dr6 ;my_handler (dr6=0xFFFF6FF0) ;iret (back to "mov eax,dr6") ;and only AFTER that ... debug register access exception.
the instruction that follows the "popfd", not after.
I looked everywhere in the Intel manuals,
I found nothing about this particular case.
However, I checked it myself, and it works exactly like that.
|21 May 2011, 19:12||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.