How do i find out what all symbols are exported from a shared object?

后端 未结 9 1543
傲寒
傲寒 2020-11-29 15:49

I have a shared object(dll). How do i find out what all symbols are exported from that?

相关标签:
9条回答
  • 2020-11-29 16:14

    Use: nm --demangle <libname>.so

    0 讨论(0)
  • 2020-11-29 16:16

    On *nix check nm. On windows use the program Dependency Walker

    0 讨论(0)
  • 2020-11-29 16:18

    Usually, you would also have a header file that you include in your code to access the symbols.

    0 讨论(0)
提交回复
热议问题