更新时间:2023-11-20 23:23:46
的公开导出的 - ?你的意思是使用外部链接符号
publicly exported - do you mean symbols with external linkage?
您可以使用 纳米
目标文件,共享库和可执行文件与 - EXTERN仅--defined只--demangle
选项,以显示定义具有外部链接的符号。符号类型字段告诉你那是什么样的符号,全局变量通常有类型B,B,C,D,D,G,G,R,R,S,S和W,W在声明模板静态数据成员头文件和函数范围的静态。
You can use nm
on object files, shared libraries and executables with --extern-only --defined-only --demangle
options to display defined symbols with external linkage. Symbol type field tells you what kind of symbol it is, global variables normally have types B, b, C, D, d, G, g, R, r, S, s and W, w for static data members of templates declared in header files and function-scope statics.