kcurrent
usage: kcurrent [-h] [--set] [pid]
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, kstack, knamespace, ksighand, kseccomp, pagewalk, vmmap), this option does not change internal memory (only effects how certain commands behaves) |