xboxscene.org forums

Xbox360 Forums => Xbox360 Software Forums => XeXDK development => Topic started by: joohan on February 08, 2010, 04:34:00 AM

Title: Read/write/execute Access On A Memorysegment, For Writing A Debugger.
Post by: joohan on February 08, 2010, 04:34:00 AM
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.
Title: Read/write/execute Access On A Memorysegment, For Writing A Debugger.
Post by: lantus 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



Title: Read/write/execute Access On A Memorysegment, For Writing A Debugger.
Post by: joohan 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.