From 0f0ff9e1b91b64d2fe5d35a8f7f30f427905f66e Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 13 Jul 2026 17:11:20 +0200 Subject: Fix function loader, it used to load function name that partially matches Add checks in open_pdb --- src/module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/module.c') diff --git a/src/module.c b/src/module.c index 25ab2ad..13f0a8d 100644 --- a/src/module.c +++ b/src/module.c @@ -5,7 +5,8 @@ extern unsigned char _BitScanForward64(unsigned long *_Index, uint64_t _Mask); struct module modules[64U] = { 0U }; -u64 modules_list = ~0ULL; +// u64 modules_list = ~0ULL; // TODO: Check if modules_list is supposed to be filled with one's ? +u64 modules_list = 0ULL; // TODO: Filled modules_list with zeroes since we assert during the first call to add_module, see comment above // u64 module_symbols -- cgit v1.3