Tracing instruction in lldb debugger. just a python-script for lldb
![](https://www.deeplearningdaily.com/wp-content/uploads/2021/07/tracing-instruction-in-lldb-debugger-just-a-python-script-for-lldb_60de3cf8b46cb-375x210.jpeg)
Tracing instruction in lldb debugger.
just a python-script for lldb.
How to use it?
- Break at an address where you want to begin tracing.
- Import lldb python script.
- Set an address where you want to end tracing.
- Use ‘trace’ command,and redirect log to file.
trace -e 0x111111 -l all -t ~/tracelog.txt -d ~/debuglog.txt
GitHub