gpt4 book ai didi

xcode - 任何人都可以分享示例 .lldbinit 文件吗?

转载 作者:行者123 更新时间:2023-12-04 20:19:57 24 4
gpt4 key购买 nike

有没有人可以共享 .lldbinit 文件?看到定义的一些命令非常有用,只是为了理解语法。

最佳答案

另一个例子可以在 GitHub https://github.com/search?q=lldbinit 上找到。 .来自 https://github.com/bsmt/lldbinit/blob/master/lldbinit 的少数人之一

# wish lldb supported colors :/
settings set prompt [lldb]$

# breakpoint shortcuts
# break on function/method/selector: b -n name
# break on C/C++ method: b -M method
# break on selector: b -S selector:here:
# break on address: b -a 0xfeedface
command alias b breakpoint set
command alias bd breakpoint disable
command alias be breakpoint enable
command alias bdel breakpoint delete
command alias bcommand breakpoint command add
command alias commands breakpoint command list

# jump aliases
# jump 0xfeedface
command alias jump register write pc
command alias jmp register write pc
command alias j register write pc

# fix p/s
# p/s rsi
command alias p/s register read

# fscript (cbf to fix fscript anywhere)
command alias f_init p (char)[[NSBundle bundleWithPath:@"/Library/Frameworks/FScript.framework"] load]
command alias f_start p (void)[FScriptMenuItem insertInMainMenu]

command alias return thread return

关于xcode - 任何人都可以分享示例 .lldbinit 文件吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7677613/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com