Native LLDB(v3.8) for iOS
Warning: !!! ON YOUR OWN RISK !!!
- Only tested on iOS 8.4/9.0.2, ARM64, untethered jailbreak.
- Do not use it on tethered jailbreak device, it may break the system, and cause white apple.
- If you do want to use it on tethered jailbreak device, I suggest that unpacking the deb and install it manually, make sure not overriding any system library(libncurses.5.4.dylib, libpanel.5.4.dylib, using install_name_tool to change lib id, path).
Install
dpkg -i python-v2.7.6-proteas-2015-11-30.deb
dpkg -i lldb-v3.8.0-proteas-2016-05-06.deb
Uninstall
dpkg -r python
dpkg -r lldb
Known Issues
- discard messages which outputting to stdout & stderr.
Hash
- python-v2.7.6-proteas-2015-11-30.deb: 50d3fa7d260e2d5f5fab071bfff3e7e4
- lldb-v3.8.0-proteas-2015-12-16.deb: 27b951e2464746227dd9f984832afa97
- lldb-v3.8.0-proteas-2016-05-06.deb: 01de06f36baaf7b484a7c2080c74b3cf
Note
- Python: you should first install Python in Cydia, then install the deb from cmd.
- Any dylib loaded by lldb should be codesigned.
- My lldb compiling env is broken, so I can't fix any issue.
- You can write your debugger or security tools based on lldb in Python, demo: https://github.com/llvm-mirror/lldb/blob/master/examples/python/process_events.py
- The deb contains: armv7, armv7s, arm64, so you can thin it to use less storage.