-
-
Notifications
You must be signed in to change notification settings - Fork 617
Open
Description
Unclear if this bug is everyone, or just me, but.
To get around E14 errors when you try to call into the guest kernel, you have to modify qemu's gdbstub.c such that if gdb_read_register returns 0, you force it to 4 or 8 (usually 8).
To actually execute code, you must disable NX with noexec=off and noexec32=off.
You don't get access to all functions, but you get more than you get from a kernel module. Some goop with -rdynamic, -E, and objcopy -w -G* should fix this.
cirosantilli
Metadata
Metadata
Assignees
Labels
No labels