How do I find out which functions of a shared object are used by a program or an other library?

后端 未结 5 1820
清歌不尽
清歌不尽 2021-01-30 11:37

How do I find out which functions of a shared object are used by a program or an other library? In this specific case, I would like to see which functions in /lib/libgcc1_s.so.1

5条回答
  •  耶瑟儿~
    2021-01-30 11:53

    Maybe the nm tool can help you since it displays the symbols' names contained in a binary file.
    It is as simple as ABC to use:

    nm my_binary
    

提交回复
热议问题