2 Commits

Author SHA1 Message Date
Kawe Mazidjatari
2b05edd374 Fix using incorrect member as bounds for looping exporteds
Fixes a crasher on certain modules as it could read oob; must use 'NumberOfNames' to iterate over export names.
2023-07-23 20:02:12 +02:00
Kawe Mazidjatari
c1a0276951 Fix unresolved external symbol errors for loader.dll
Moved CModule statics to a separate translation unit, preventing the linker to link unused stuff into the loader module, thus allowing us to drop the linkage of unused libraries.
2023-07-01 22:29:34 +02:00