LLDB
2024/12/23小于 1 分钟
LLDB
什么是LLDB
LLDB 是下一代高性能调试器,类比 GDB。
命令行
- 帮助文档
help 查看命令行
help image list- 查看模块
image list -b -h -o 查看模块基地址,偏移地址
image list -h -f module_name 为基地址,IDA rebase这个即可- 字符串查找
memory find -s "string" addressStart addressEnd- 设置断点
breakpoint set -a 0x1002321EB- 反汇编
dis -p 反汇编当前 pc、ip- 查看栈
frame select 0 == frame info 查看当前栈
frame select 1 查看上一个栈- 指令修改
memory write address code