xboxscene.org forums

Author Topic: Read/write/execute Access On A Memorysegment, For Writing A Debugger.  (Read 89 times)

joohan

  • Archived User
  • Newbie
  • *
  • Posts: 15

If there is any way of getting READ/WRITE/EXECUTE access on a memory range?

If that would be possible then writing a GDB server with the xdk would be possible.
This would mean almost full debugging support using a standard non dev box.

PAGE_EXECUTE_READWRITE is not implemented in the SDK, so we need a workaround for that.
Logged

lantus

  • Archived User
  • Sr. Member
  • *
  • Posts: 297
Read/write/execute Access On A Memorysegment, For Writing A Debugger.
« Reply #1 on: February 08, 2010, 07:48:00 AM »

not possible right now thanks to the Hypervisor. I've heard of some ideas and theories being thrown around but no workaround exists currently.


this is also a stumbling block for emulators that use dynarecs



Logged

joohan

  • Archived User
  • Newbie
  • *
  • Posts: 15
Read/write/execute Access On A Memorysegment, For Writing A Debugger.
« Reply #2 on: February 08, 2010, 08:25:00 AM »

Ok, good to know.

But then if there is some smart people looking in to this then one might guess that a solution to the problem is on the way.

If so then I'll go ahead and code a debug monitor so it is ready when the hypervisor gets patched.
Logged