Thanks! So I guess if I make my VEH CONTINUE_SEARCH when dr6 has no useful information, then I should be good to go. I'll give that a shot when I get home from work
Thanks again.
---------- Post added at 04:10 PM ---------- Previous post was at 03:27 PM ----------
For anyone that's interested.. here's how I resolved my problem.
Code:
#define DR6_RESERVED (0xFFFF0FF0)
ULONG SpiffyHandler(PEXCEPTION_POINTERS exc)
{
if ((exc->ExceptionRecord->ExceptionCode != STATUS_SINGLE_STEP) ||
(exc->ExceptionRecord->ExceptionCode == STATUS_SINGLE_STEP && !(exc->ContextRecord->Dr6 & (~DR6_RESERVED))))
{
return (EXCEPTION_CONTINUE_SEARCH);
}
}