Skip to content

Commit

Permalink
[FEATURE] Skip scanning context of running threads
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Sep 1, 2024
1 parent e57c08e commit b921e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanners/thread_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b921e3b

Please sign in to comment.