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

Method writeMemoryToProcess

Scylla/ProcessAccessHelp.cpp:179–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179bool ProcessAccessHelp::writeMemoryToProcess(DWORD_PTR address, SIZE_T size, LPVOID dataBuffer)
180{
181 SIZE_T lpNumberOfBytesWritten = 0;
182 if (!hProcess)
183 {
184#ifdef DEBUG_COMMENTS
185 Scylla::debugLog.log(L"readMemoryFromProcess :: hProcess == NULL");
186#endif
187 return false;
188 }
189
190
191 return (WriteProcessMemory(hProcess,(LPVOID)address, dataBuffer, size,&lpNumberOfBytesWritten) != FALSE);
192}
193
194bool ProcessAccessHelp::readMemoryFromProcess(DWORD_PTR address, SIZE_T size, LPVOID dataBuffer)
195{

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected