Recursively fetch all LLDB scripts from a repo
$ lowmad install [email protected]:bangerang/lldb_commands.git
Or just a subset of scripts
$ lowmad install [email protected]:bangerang/lldb_commands.git find_label instruction
Generate a new script
$ lowmad generate my_script
That's it! You´re new scripts are ready to use! Restart your LLDB debugging session or just reload the current one
(lldb) command source ~/.lldbinit
(lldb) my_script
lowmad maintains a manifest file for you containing all your installed scripts. This file can also store your LLDB init configuration. This is very convenient if you want to share your scripts with others or setting up a new machine. lowmad will scan the given repo after a lowmad manifest for easy installation. See lldb_commands for an example how this can be structured.
$ lowmad install repo/that/contains/manifest
$ mint install bangerang/lowmad
$ lowmad init
$ cd lowmad
$ swift build -c release
$ ln -s ${PWD}/.build/release/lowmad /usr/local/bin/lowmad
$ lowmad init
$ lowmad --help
Usage: lowmad [options]
A command line tool for managing and generating LLDB scripts.
Commands:
init Initialize lowmad.
install Install scripts from a repo or manifest file.
list List all available LLDB commands.
uninstall Uninstall scripts.
generate Generates a new LLDB script.
dump Dumps path and content of manifest file.
sync Sync contents of LLDB init to manifest
help Prints help information
version Prints the current version of this app
$ lowmad install --help
Usage: lowmad install [] [] ... [options]
Install scripts from a repo or manifest file.
Options:
-c, --commit Install from a specific commit.
-h, --help Show help information
-o, --own Install commands to your own commands folder.