Skip to content

Commit

Permalink
[BUGFIX] Fixed invalid functions names. Fixed invalid returned val
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Sep 2, 2024
1 parent 36aa039 commit 31a0f01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion scanners/thread_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ ThreadScanReport* pesieve::ThreadScanner::scanRemote()
#ifdef _DEBUG
std::cerr << "[-] Could not OpenThread. Error: " << GetLastError() << std::endl;
#endif
return nullptr;
my_report->status = SCAN_ERROR;
return my_report;
}
const DWORD tid = GetThreadId(hThread);
ctx_details cDetails = { 0 };
Expand Down
4 changes: 2 additions & 2 deletions scanners/thread_scanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ namespace pesieve {
void printThreadInfo(const util::thread_info& threadi);
bool printResolvedAddr(ULONGLONG addr);
bool fetchThreadCtxDetails(IN HANDLE hProcess, IN HANDLE hThread, OUT ctx_details& c);
size_t fillStackFrameInfo(IN HANDLE hProcess, IN HANDLE hThread, IN LPVOID ctx, IN OUT ctx_details& cDetails);
size_t analyzeStackFrames(IN const std::vector<ULONGLONG> stack_frame, IN OUT ctx_details& cDetails);
size_t fillCallStackInfo(IN HANDLE hProcess, IN HANDLE hThread, IN LPVOID ctx, IN OUT ctx_details& cDetails);
size_t analyzeCallStack(IN const std::vector<ULONGLONG> stack_frame, IN OUT ctx_details& cDetails);
bool fillAreaStats(ThreadScanReport* my_report);
bool reportSuspiciousAddr(ThreadScanReport* my_report, ULONGLONG susp_addr);

Expand Down

0 comments on commit 31a0f01

Please sign in to comment.