现在的位置: 首页 > 综合 > 正文

linux查看导出函数

2014年10月27日 ⁄ 综合 ⁄ 共 346字 ⁄ 字号 评论关闭

What you need is nm and
its -D option:

$ nm -D /usr/lib/libopenal.so.1
.
.
.
00012ea0 T alcSetThreadContext
000140f0 T alcSuspendContext
         U atanf
         U calloc
.
.
.

Exported sumbols are indicated by a T.
Required symbols that must be loaded from other shared objects have a U.
Note that the symbol table does not include just functions, but exported variables as well.

See the nm manual
page
 for more information.

抱歉!评论已关闭.