Jump to content

DBG C AddrToObject: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 18: Line 18:
The Addr field will be left unchanged.
The Addr field will be left unchanged.


[[Category:DBG_C]]
[[Category:Debug Command]]
{{DISPLAYTITLE:DBG_C_AddrToObject}}
{{DISPLAYTITLE:DBG_C_AddrToObject}}

Latest revision as of 12:55, 10 March 2020

Debug Command 28 - Get Memory Object Information Command

Parameters
  • Pid= Process ID of debuggee
  • Cmd= DBG_C_AddrToObject
  • Addr= Debuggee Linear Address
Returns
  • Buffer= Starting address of object
  • Len= Size of object in bytes
  • Value= Object flags
  • MTE= Module Table Entry handle of module if DBG_O_OBJMTE is set in the Value field object flags.

The object flags are defined as follows:

DBG_O_OBJMTE (10000000h) - Object is part of a module

Information about the memory object containing the linear address is returned. If the linear address is not part of an object, DBG_N_Error is returned with ERROR_INVALID_OBJECT in the Value field.

The Addr field will be left unchanged.