DBG C ReadMemBuf: Difference between revisions
Appearance
Created page with "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 addr..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
Debug Command 22 - Read Memory Buffer Command | {{DISPLAYTITLE:DBG_C_ReadMemBuf}} | ||
Debug Command 22 - Read Memory Buffer Command | |||
;Parameters | ;Parameters | ||
*Pid= Process ID of debuggee | *Pid= Process ID of debuggee | ||
*Cmd= DBG_C_ReadMemBuf | *Cmd= DBG_C_ReadMemBuf | ||
*Addr= Debuggee address to read from | *Addr= Debuggee address to read from | ||
*Buffer= Debugger address to copy to | *Buffer= Debugger address to copy to | ||
*Len= Number of bytes to read | *Len= Number of bytes to read | ||
;Returns | ;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. | |||
[[Category:Debug Command]] | |||
[[Category: | |||
Latest revision as of 13:11, 10 March 2020
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.