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
targetAddressulongtarget address in dump to read length bytes from
lengthintnumber 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
targetAddressulongtarget address in dump to read buffer.Length bytets from
bufferbyte[]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)