fix kdmaper adjust loading method
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user