You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pwndbg/docs/commands/kernel/kcurrent.md

997 B

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, pagewalk), this option does not change internal mem (purely effects how certain commands behaves)