MCPcopy Create free account
hub / github.com/Maplespe/DWMBlurGlass / IsExecutableAddress

Function IsExecutableAddress

DWMBlurGlassExt/minhook/buffer.cpp:306–312  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

304
305//-------------------------------------------------------------------------
306BOOL IsExecutableAddress(LPVOID pAddress)
307{
308 MEMORY_BASIC_INFORMATION mi;
309 VirtualQuery(pAddress, &mi, sizeof(mi));
310
311 return (mi.State == MEM_COMMIT && (mi.Protect & PAGE_EXECUTE_FLAGS));
312}

Callers 2

CreateTrampolineFunctionFunction · 0.85
MH_CreateHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected