Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 gdb-python 从 C 代码崩溃后生成的核心转储中提取所有全局变量、数据结构和子结构(带有地址、类型和值)。?
目前还没有一种方法可以从 Python 中迭代符号表。所以,做不到。
但是,添加支持以将此信息公开给 Python 将是合理的做法。