Skip to content

Commit

Permalink
[FEATURE] Include running threads in the context scan
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Sep 6, 2024
1 parent 18ac081 commit 9178863
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scanners/thread_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#define ENTROPY_TRESHOLD 3.0
//#define NO_ENTROPY_CHECK

#ifdef _DEBUG
//#ifdef _DEBUG
#define _SHOW_THREAD_INFO
#endif
//#endif

using namespace pesieve;

Expand Down Expand Up @@ -400,7 +400,7 @@ bool should_scan_context(const util::thread_info& info)
return true;
}
const KTHREAD_STATE state = (KTHREAD_STATE)info.ext.state;
if (state == Ready) {
if (state == Ready || state == Running) {
return true;
}
if (state == Terminated) {
Expand Down

0 comments on commit 9178863

Please sign in to comment.