MCPcopy Create free account
hub / github.com/Astronaut00/DoubleDataPointer / WriteVirtual

Function WriteVirtual

Driver/core.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 NTSTATUS WriteVirtual(uint64_t dirbase, uint64_t address, uint8_t* buffer, SIZE_T size, SIZE_T* written)
86 {
87 uint64_t paddress = TranslateLinearAddress(dirbase, address);
88 return WritePhysicalAddress(paddress, buffer, size, written);
89 }
90
91 NTSTATUS ReadPhysicalAddress(uint64_t TargetAddress, PVOID lpBuffer, SIZE_T Size, SIZE_T* BytesRead)
92 {

Callers

nothing calls this directly

Calls 2

TranslateLinearAddressFunction · 0.85
WritePhysicalAddressFunction · 0.85

Tested by

no test coverage detected