Skip to content

Commit

Permalink
Fix return value in code injection method
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgiepoo committed Oct 22, 2022
1 parent 5c6945a commit ae34623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bit Slicer/ZGDebuggerUtilities.m
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ + (BOOL)shouldInjectCodeWithRelativeBranchingWithProcess:(ZGProcess *)process pr
{
ZG_LOG(@"Error: Failed to assemble pop rax");
ZGResumeTask(process.processTask);
return nil;
return NO;
}
[newInstructionsData appendData:popRaxData ];
}
Expand Down Expand Up @@ -660,7 +660,7 @@ + (BOOL)shouldInjectCodeWithRelativeBranchingWithProcess:(ZGProcess *)process pr
{
ZG_LOG(@"Error generating jumpToIslandData");
ZGResumeTask(process.processTask);
return nil;
return NO;
}

ZGVariable *variable =
Expand Down

0 comments on commit ae34623

Please sign in to comment.