mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 19:51:35 +01:00
Two working methods for module_init GDB step debugging!
Not perfect, but doable.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|`-a` |`ARCH` |Run architecture `ARCH`.
|
||||
|`-c` |`NCPUS` |Emulate `NCPUS` guest CPUs.
|
||||
|`-D` | |Run GDB on the emulator itself.
|
||||
|`-d` | |Run in debug mode, expect a GDB connection to guest.
|
||||
|`-d` | |Wait for GDB to connect before starting execution.
|
||||
|`-E` |`CMDSTR` |Replace the normal init with a minimal init that just evals
|
||||
with given `CMDSTR` bash command string. Example:
|
||||
`-E 'insmod /hello.ko;'`
|
||||
|
||||
Reference in New Issue
Block a user