From b921e3bbcedcc018b3dabc3dd3a585ce362d00c2 Mon Sep 17 00:00:00 2001 From: hasherezade Date: Sun, 1 Sep 2024 11:16:02 -0700 Subject: [PATCH] [FEATURE] Skip scanning context of running threads --- scanners/thread_scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanners/thread_scanner.cpp b/scanners/thread_scanner.cpp index df7135ef1..06cd15a5d 100644 --- a/scanners/thread_scanner.cpp +++ b/scanners/thread_scanner.cpp @@ -365,7 +365,7 @@ bool should_scan_context(const util::thread_info& info) return true; } const KTHREAD_STATE state = (KTHREAD_STATE)info.ext.state; - if (state == Running || state == Ready) { + if (state == Ready) { return true; } if (state == Terminated) {