MCPcopy Create free account
hub / github.com/NtQuery/Scylla / isPageAccessable

Method isPageAccessable

Scylla/ProcessAccessHelp.cpp:902–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900}
901
902bool ProcessAccessHelp::isPageAccessable( DWORD Protect )
903{
904 if (Protect & PAGE_NOCACHE) Protect ^= PAGE_NOCACHE;
905 if (Protect & PAGE_GUARD) Protect ^= PAGE_GUARD;
906 if (Protect & PAGE_WRITECOMBINE) Protect ^= PAGE_WRITECOMBINE;
907
908 if (Protect != PAGE_NOACCESS)
909 {
910 return true;
911 }
912 else
913 {
914 return false;
915 }
916}
917
918bool ProcessAccessHelp::isPageExecutable( DWORD Protect )
919{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected