This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Enum module which in current process */ | |
struct Module_t { | |
ULONG64 base; | |
ULONG64 size; | |
std::string name; | |
} | |
void EnumModule( std::vector<Module_t> & list ) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Enum thread which in process | |
struct Thread_t { | |
ULONG64 tid; | |
ULONG64 base; | |
} | |
NTSTATUS EnumProcessThread( HANDLE pid, std::vector<Thread_t> & list ) | |
{ | |
PSYSTEM_PROCESS_INFORMATION pProcess; |
NewerOlder