Skip to content

Commit

Permalink
[BUGFIX] Fixed invalid variable name in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Aug 31, 2024
1 parent 01690db commit dd5fa81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scanners/thread_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,12 +431,12 @@ ThreadScanReport* pesieve::ThreadScanner::scanRemote()
return my_report;
}
#ifdef _DEBUG
std::cout << " b:" << ctx.is64b << std::hex << " Rip: " << ctx.rip << " Rsp: " << c.rsp;
std::cout << " b:" << ctx.is64b << std::hex << " Rip: " << ctx.rip << " Rsp: " << ctx.rsp;
if (exit_code != STILL_ACTIVE)
std::cout << " ExitCode: " << exit_code;

if (ctx.ret_addr != 0) {
std::cout << std::hex << " Ret: " << c.ret_addr;
std::cout << std::hex << " Ret: " << ctx.ret_addr;
}
std::cout << "\n";
#endif
Expand Down

0 comments on commit dd5fa81

Please sign in to comment.