MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / CheckProcessMemoryReadable

Function CheckProcessMemoryReadable

Source/Client/NM_Sys/API/MemoryUtils.cpp:163–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162 _IRQL_requires_max_(APC_LEVEL)
163 BOOLEAN CheckProcessMemoryReadable(PEPROCESS Process, __in_data_source(USER_MODE) PVOID UserAddress, SIZE_T Size)
164 {
165 KAPC_STATE ApcState;
166 KeStackAttachProcess(Process, &ApcState);
167
168 BOOLEAN Status = CheckUserMemoryReadable(UserAddress, Size);
169
170 KeUnstackDetachProcess(&ApcState);
171 return Status;
172 }
173
174 _IRQL_requires_max_(APC_LEVEL)
175 BOOLEAN CheckUserMemoryWriteable(__in_data_source(USER_MODE) PVOID UserAddress, SIZE_T Size)

Callers

nothing calls this directly

Calls 1

CheckUserMemoryReadableFunction · 0.85

Tested by

no test coverage detected