MCPcopy Create free account
hub / github.com/beefytech/Beef / ReadMemory

Method ReadMemory

IDEHelper/Compiler/CeDebugger.cpp:4483–4493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4481}
4482
4483bool CeDebugger::ReadMemory(intptr address, uint64 length, void* dest, bool local)
4484{
4485 auto ceContext = mCeMachine->mCurContext;
4486 if (ceContext == NULL)
4487 return false;
4488 auto ptr = ceContext->GetMemoryPtr((addr_ce)address, (int32)length);
4489 if (ptr == NULL)
4490 return false;
4491 memcpy(dest, ptr, length);
4492 return true;
4493}
4494
4495bool CeDebugger::WriteMemory(intptr address, void* src, uint64 length)
4496{

Callers

nothing calls this directly

Calls 1

GetMemoryPtrMethod · 0.80

Tested by

no test coverage detected