소스 팁/C, C++, C#
Linux so 파일에 Shared 된 함수명 리스트
인디개발자
2018. 11. 4. 16:47
$ 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.
bjdump -T *.so
may also do the job
On a MAC, you need to use nm *.o | c++filt
, as there is no -C
option in nm
.
반응형