인디노트
Linux so 파일에 Shared 된 함수명 리스트 본문
$ 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
.
반응형
'소스 팁 > C, C++, C#' 카테고리의 다른 글
linux 환경에서의 메모리 보호기법을 알아보자(4) (0) | 2019.02.06 |
---|---|
error while loading shared libraries file.so cannot open shared object file: No such file or directory (0) | 2018.11.04 |
[LINUX] gcc undefined reference to 오류 처리 하기 (0) | 2018.11.04 |
How to Link Static Library in C/C++ using GCC compiler? (0) | 2018.11.04 |
우분투에서 json-c library 설치 및 사용 (0) | 2018.11.01 |
Comments