From f8c92cfa9eeb82a608d409cac70d9d2533ab79d8 Mon Sep 17 00:00:00 2001 From: Quentin LADEVIE Date: Tue, 29 Apr 2025 23:28:52 +0200 Subject: Compile files one by one --- src/events.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/events.c') diff --git a/src/events.c b/src/events.c index 61cc9dd..7ab5b53 100644 --- a/src/events.c +++ b/src/events.c @@ -1,4 +1,15 @@ -void read_name_uni(const void* name_addr, const char* name, size_t name_size) { +#include + +#include "types.h" +#include "utils.h" +#include "module.h" +#include "pdb.h" + +u8 expect_single_step = FALSE; + +extern DEBUG_EVENT dbg_event; + +static void read_name_uni(const void* name_addr, const char* name, size_t name_size) { u8* addr = NULL; if (!read_memory(name_addr, (void*)&addr, 8U)) { print("%s %u\n", "Loading DLL : error reading dll name : ", GetLastError()); @@ -143,6 +154,8 @@ void handle_create_thread() { } void handle_exception() { + extern DWORD continue_status; + print("%s : ", "ExceptionDebugEvent"); if (dbg_event.u.Exception.ExceptionRecord.ExceptionCode == EXCEPTION_SINGLE_STEP && expect_single_step) { -- cgit v1.3