summaryrefslogtreecommitdiffstats
path: root/src/module.c
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2026-07-13 17:11:20 +0200
committerladevieq <ladevie.quentin@gmail.com>2026-07-13 17:11:20 +0200
commit0f0ff9e1b91b64d2fe5d35a8f7f30f427905f66e (patch)
treeb2d4f41af4dcb44c17a56b99f542870e0a28800d /src/module.c
parentcee4c6d1c8cbf898d6aa9ad555d8dfcece4c7d96 (diff)
Fix function loader, it used to load function name that partially
matches Add checks in open_pdb
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c3
1 files changed, 2 insertions, 1 deletions
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