Readline
Readline interface for the Pwndbg LLDB REPL.
Mostly concerns itself with argument completion.
HISTORY_FILE = os.path.expanduser('~/.pwndbg_history')
module-attribute
¶
P = ParamSpec('P')
module-attribute
¶
PROMPT = message.readline_escape(message.prompt, 'pwndbg-lldb> ')
module-attribute
¶
T = TypeVar('T')
module-attribute
¶
complete_descrs = lldb.SBStringList()
module-attribute
¶
complete_values = lldb.SBStringList()
module-attribute
¶
complete(dbg, text, state)
¶
Runs the tab autocompletion function for readline based on the values returned by SBCommandInterpreter.HandleCompletion
.
ctx_with_history()
¶
disable_readline()
¶
Disables the readline functionality.
display_completions(substitutions, matches, longest_match_len)
¶
Display the completions found by complete
in the style of LLDB.
enable_readline(dbg)
¶
Enables the readline functionality.