Windows: Call the image map callback for ntdll

This commit is contained in:
Billy Laws committed 2025-04-19 14:09:48 +01:00
1 parent c8371087e6
commit 0f0e969d8f
3 files changed
+20

No files matched your search

+2
View File
@@ -616,6 +616,8 @@ NTSTATUS ProcessInit() {
CTX->InitCore();
InvalidationTracker.emplace(*CTX, Threads);
HandleImageMap(NtDllBase);
auto MainModule = reinterpret_cast<__TEB*>(NtCurrentTeb())->Peb->ImageBaseAddress;
HandleImageMap(reinterpret_cast<uint64_t>(MainModule));