您将如何列出已编译库中包含的可用函数等? [英] How would you list the available functions etc contained within a compiled library?

查看:46
本文介绍了您将如何列出已编译库中包含的可用函数等?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何确定某个函数在库中是否存在,或在已编译的库中列出这些函数?

How do I determine whether a function exists within a library, or list out the functions in a compiled library?

推荐答案

您可以使用

You can use the nm command to list the symbols in static libraries.

nm -g -C <libMylib.a>

这篇关于您将如何列出已编译库中包含的可用函数等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆