如何使用LLDB python API`debugger.CreateTarget`]指定dsym文件>

问题描述 投票:0回答:1

如何在lldb命令行应用程序中指定myapp.dsym:

target create --no-dependents -arch arm64 --symfile myapp.dsym myapp

但是使用python API时如何指定dsym文件?

target = debugger.CreateTarget(

    "myapp", triple, platform_name, add_dependents, lldb.SBError())

我在https://github.com/llvm/llvm-project/https://lldb.llvm.org/python_reference/index.html中进行了搜索。但无法解决。

如何在lldb命令行应用程序中指定myapp.dsym:目标创建--no-depends -arch arm64 --symfile myapp.dsym myapp但是,当使用python API时如何指定dsym文件?目标= ...

python debugging lldb dsym
1个回答
0
投票

如果您的二进制文件是/tmp/a.out,而dSYM是/tmp/hide.noindex/a.out.dSYM,则这是一种方法:

© www.soinside.com 2019 - 2024. All rights reserved.