fix kdmaper adjust loading method

This commit is contained in:
2026-10-08 09:57:32 +08:00
parent 1745e5097d
commit e530b283cd
7 changed files with 772 additions and 6060 deletions
+1
View File
@@ -29,6 +29,7 @@ auto utils::GetKernelModule(const std::string& module_name) -> uint64_t
for (auto i = 0u; i < modules->NumberOfModules; ++i) {
const std::string current_module_name = std::string(reinterpret_cast<char*>(modules->Modules[i].FullPathName) + modules->Modules[i].OffsetToFileName);
if (!_stricmp(current_module_name.c_str(), module_name.c_str()))
{
const uint64_t result = reinterpret_cast<uint64_t>(modules->Modules[i].ImageBase);