Method ReadMemory
ReadMemory(ulong, int)
Read memory from the dump file and return results in newly allocated buffer
public byte[] ReadMemory(ulong targetAddress, int length)
Parameters
targetAddress
ulongtarget address in dump to read length bytes from
length
intnumber of bytes to read
Returns
- byte[]
newly allocated byte array containing dump memory
Remarks
All memory requested must be readable or it throws.
ReadMemory(ulong, byte[])
Read memory from the dump file and copy into the buffer
public void ReadMemory(ulong targetAddress, byte[] buffer)
Parameters
targetAddress
ulongtarget address in dump to read buffer.Length bytets from
buffer
byte[]destination buffer to copy target memory to.
Remarks
All memory requested must be readable or it throws.
ReadMemory(ulong, IntPtr, uint)
Read memory from target and copy it to the local buffer pointed to by destinationBuffer. Throw if any portion of the requested memory is unavailable.
public void ReadMemory(ulong targetRequestStart, IntPtr destinationBuffer, uint destinationBufferSizeInBytes)