LLDBUsefulCommand

lldb 调试常用的命令

Posted by kunnan on July 8, 2018

动态跟踪方法

  • (lldb) bclass TipsView

    (lldb) br command add 1
    Enter your debugger command(s).  Type 'DONE' to end.
    > po $x0
    > po $x1
    > po $x2
    > po $x3
    > po $x4
    > po $x5
    > po $x6
    > c
    > DONE
    

    image-20180712174907879

    image

other

  • im li appname

    得到文件加载到虚拟内存的偏移
    

See Also

/Users/devzkn/bin//knpost LLDBUsefulCommand lldb 调试常用的命令 -t lldb
#原来""的参数,需要自己加上""

转载请注明: > LLDBUsefulCommand