lldb-write
lldb-write copied to clipboard
Write the output of an lldb command to file
lldb-write
A Python script for lldb
that writes the output of a command to a given file.
Installation
Import the script manually:
(lldb) command script import /path/to/lldb-write/write.py
Or add command script import /path/to/lldb-write/write.py
to ~/.lldbinit.
Usage
(lldb) write filename command
Example:
(lldb) write reg.txt register read