kcurrent¤
Displays the current kernel task debugged by the debugger (gdb/lldb) if pid == None Displays the task with pid if pid != None.
Positional arguments¤
| Positional Argument | Help |
|---|---|
| pid |
Optional arguments¤
| Short | Long | Help |
|---|---|---|
| -h | --help | show this help message and exit |
| --set | sets the kernel task used for supported pwndbg commands (kfile, pagewalk), this option does not change internal mem (purely effects how certain commands behaves) |