Jump to content

DBG_C_ReadMemBuf

From EDM2
Revision as of 13:11, 10 March 2020 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Debug Command 22 - Read Memory Buffer Command

Parameters
  • Pid= Process ID of debuggee
  • Cmd= DBG_C_ReadMemBuf
  • Addr= Debuggee address to read from
  • Buffer= Debugger address to copy to
  • Len= Number of bytes to read
Returns

The number of bytes specified by Len is copied from the debuggee's user memory space starting at Addr into the debugger's Buffer.

This command is not serialized with respect to the DBG_C_Go command.

Restrictions

You are unable to read from any memory outside user space.

Both specified memory regions must be currently valid.