mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-10 01:29:59 +00:00
fix attaching errors on the target process
This commit is contained in:
parent
8aa8289236
commit
b2b8cf5e63
2 changed files with 2 additions and 2 deletions
|
|
@ -1411,7 +1411,7 @@ AttachingTargetProcess(PDEBUGGER_ATTACH_DETACH_USER_MODE_PROCESS Request)
|
|||
//
|
||||
// As we're here, we need to initialize the user-mode debugger
|
||||
//
|
||||
if (UdInitializeUserDebugger())
|
||||
if (!UdInitializeUserDebugger())
|
||||
{
|
||||
Request->Result = DEBUGGER_ERROR_DEBUGGER_NOT_INITIALIZED;
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ UdInitializeUserDebugger()
|
|||
//
|
||||
// Configure the exec-trap on all processors
|
||||
//
|
||||
if (ConfigureInitializeExecTrapOnAllProcessors())
|
||||
if (!ConfigureInitializeExecTrapOnAllProcessors())
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue