Skip to content

pipe the output of lldb commands through any shell utility

Notifications You must be signed in to change notification settings

ihnorton/lldb.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

lldb.sh

Make your LLDB experience 26% better* with one weird trick: pipe the output of lldb commands to any normal shell command.

(lldb) command script import /path/to/lldbsh.py

(lldb) sh image list | wc -c
    3898

(lldb) sh env | grep SDKROOT
  SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

Pagers are also supported! (but, as yet, the subprocess is not killable):

(lldb) sh image list | less
...

* does not improve symbolication speed :(

About

pipe the output of lldb commands through any shell utility

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages