Skip to content

Commit

Permalink
fix modules not showing up for stable CE version
Browse files Browse the repository at this point in the history
Fixed the issue mentioned in #3 which as Lauralex pointed out is fixed on the main source already, but isn't fixed on stable version yet. so we just write the binary name to path to solve the issue (:
  • Loading branch information
Metick committed Apr 9, 2024
1 parent f228aee commit c7dc1b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DMALibrary/Memory/Memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class Memory
* @param module the name of the module that you wanna find the export in
* @return the export table address of the export
*/
uintptr_t GetExportTableAddress(std::string import, std::string process, std::string module);
uintptr_t GetExportTableAddress(std::string import, std::string process, std::string module, bool kernel = false);

/**
* brief Gets the import table address of the process
Expand Down
2 changes: 2 additions & 0 deletions plugin/Hooks/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ namespace Hooks
lpme->modBaseSize = module_info->pMap[current_module].cbImageSize;
lpme->modBaseAddr = (BYTE*)module_info->pMap[current_module].vaBase;
strcpy(lpme->szModule, module_info->pMap[current_module].uszText);
strcpy(lpme->szExePath, module_info->pMap[current_module].uszText);
return true;
}

Expand All @@ -36,6 +37,7 @@ namespace Hooks
lpme->modBaseSize = module_info->pMap[current_module].cbImageSize;
lpme->modBaseAddr = (BYTE*)module_info->pMap[current_module].vaBase;
strcpy(lpme->szModule, module_info->pMap[current_module].uszText);
strcpy(lpme->szExePath, module_info->pMap[current_module].uszText);
current_module++;
return true;
}
Expand Down

0 comments on commit c7dc1b3

Please sign in to comment.