Jump to content

DBG C ReadMemBuf: Difference between revisions

From EDM2
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..."
 
Ak120 (talk | contribs)
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.


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.


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.


;Restrictions
Both specified memory regions must be currently valid.


You are unable to read from any memory outside user space.
[[Category:Debug Command]]
 
Both specified memory regions must be currently valid.
[[Category:DBG_C]]
{{DISPLAYTITLE:DBG_C_ReadMemBuf}}

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.