fixed a little bug in IsJumpGoingToExecute

This commit is contained in:
mr.exodia 2013-10-23 21:49:11 +02:00
parent 0a2d5747b6
commit ed35dd37a2
1 changed files with 1 additions and 2 deletions

View File

@ -15103,7 +15103,7 @@ __declspec(dllexport) bool TITCALL IsJumpGoingToExecuteEx(HANDLE hProcess, HANDL
bool bDF = false; bool bDF = false;
bool bOF = false; bool bOF = false;
if(hProcess != NULL && hThread != NULL) if(hProcess != NULL && (hThread || RegFlags))
{ {
if(InstructionAddress == NULL) if(InstructionAddress == NULL)
{ {
@ -16838,7 +16838,6 @@ __declspec(dllexport) void TITCALL DebugLoop()
} }
} }
} }
//loadDLL callback //loadDLL callback
if(DBGCustomHandler->chLoadDll != NULL) if(DBGCustomHandler->chLoadDll != NULL)
{ {