Open rdbo opened 1 year ago
Certain things done with the Windows API, like module enumeration, is duplicated across different functions. This could be abstracted for example, into a private API _LM_EnumWinModules or something, which would be reused across these functions.
_LM_EnumWinModules
Things like copying the data of a MEMORY_BASIC_INFORMATION structure into a lm_page_t should also be abstracted.
MEMORY_BASIC_INFORMATION
lm_page_t
Certain things done with the Windows API, like module enumeration, is duplicated across different functions. This could be abstracted for example, into a private API
_LM_EnumWinModules
or something, which would be reused across these functions.