From c8c993d4e8c42a05c0b39478836b5066caef5170 Mon Sep 17 00:00:00 2001 From: Nikita Smith Date: Mon, 3 Nov 2025 11:29:34 -0800 Subject: [PATCH] filter for threads --- src/ctrl/ctrl_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ctrl/ctrl_core.c b/src/ctrl/ctrl_core.c index 4b81d987..ed111ad1 100644 --- a/src/ctrl/ctrl_core.c +++ b/src/ctrl/ctrl_core.c @@ -5358,6 +5358,7 @@ ctrl_thread__run(DMN_CtrlCtx *ctrl_ctx, CTRL_Msg *msg) if(process->kind != CTRL_EntityKind_Process) { continue; } for(CTRL_Entity *thread = process->first; thread != &ctrl_entity_nil; thread = thread->next) { + if(thread->kind != CTRL_EntityKind_Thread) { continue; } U64 rip = dmn_rip_from_thread(thread->handle.dmn_handle); // rjf: determine if thread is frozen