Jump to content

DBG_C_AddrToObject

From EDM2
Revision as of 23:37, 4 March 2020 by Martini (talk | contribs) (Created page with "Debug Command 28 - Get Memory Object Information Command ;Parameters *Pid= Process ID of debuggee *Cmd= DBG_C_AddrToObject *Addr= Debuggee Linear Address ;Returns *Buf...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.