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

Function CheckProcessMemoryWriteable

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

Source from the content-addressed store, hash-verified

187
188 _IRQL_requires_max_(APC_LEVEL)
189 BOOLEAN CheckProcessMemoryWriteable(PEPROCESS Process, __in_data_source(USER_MODE) PVOID UserAddress, SIZE_T Size)
190 {
191 KAPC_STATE ApcState;
192 KeStackAttachProcess(Process, &ApcState);
193
194 BOOLEAN Status = CheckUserMemoryWriteable(UserAddress, Size);
195
196 KeUnstackDetachProcess(&ApcState);
197 return Status;
198 }
199}
200
201namespace Heap

Callers

nothing calls this directly

Calls 1

CheckUserMemoryWriteableFunction · 0.85

Tested by

no test coverage detected