Jump to content

DBG C ReadMem

From EDM2
Revision as of 03:52, 3 March 2020 by Martini (talk | contribs) (Created page with "Debug Command 1 and 2 - Read Word Command ;Parameters *Pid= Process ID of debuggee *Addr= Address to read from *Cmd= DBG_C_ReadMem_I, or DBG_C_ReadMem_D, or DBG_C_ReadMe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Debug Command 1 and 2 - Read Word Command

Parameters
  • Pid= Process ID of debuggee
  • Addr= Address to read from
  • Cmd= DBG_C_ReadMem_I, or DBG_C_ReadMem_D, or DBG_C_ReadMem

The commands DBG_C_ReadMem_I, DBG_C_ReadMem_D, and DBG_C_ReadMem are identical.

Returns

The word at the desired address is read, and stored into Value.

  • Value= Word read from the specified address.
Restrictions

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

The high-order word of Value is set to zero.