linux看安装了哪些函数,如何查看linux动态库中包含哪些函数
发布日期:2022-02-08 20:24:04 浏览次数:26 分类:技术文章

本文共 1511 字,大约阅读时间需要 5 分钟。

1、方法1

nm *.so

2、方法2

readelf -a *.so

PS:readelf

Options are:   -a --all               Equivalent to: -h -l -S -s -r -d -V -A -I   -h --file-header       Display the ELF file header   -l --program-headers   Display the program headers      --segments          An alias for --program-headers   -S --section-headers   Display the sections' header      --sections          An alias for --section-headers   -g --section-groups    Display the section groups   -t --section-details   Display the section details   -e --headers           Equivalent to: -h -l -S   -s --syms              Display the symbol table       --symbols          An alias for --syms   -n --notes             Display the core notes (if present)   -r --relocs            Display the relocations (if present)   -u --unwind            Display the unwind info (if present)   -d --dynamic           Display the dynamic section (if present)   -V --version-info      Display the version sections (if present)   -A --arch-specific     Display architecture specific information (if any).   -c --archive-index     Display the symbol/file index in an archive   -D --use-dynamic       Use the dynamic section info when displaying symbols   -x --hex-dump=                          Dump the contents of section as bytes   -p --string-dump=                          Dump the contents of section as strings   -R --relocated-dump=                          Dump the contents of section as relocated bytes   -w[lLiaprmfFsoR] or   --debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=str,=loc,=Ranges]                          Display the contents of DWARF2 debug sections   -I --histogram         Display histogram of bucket list lengths   -W --wide              Allow output width to exceed 80 characters   @                Read options from   -H --help              Display this information

转载地址:https://blog.csdn.net/weixin_33132553/article/details/116714342 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:linux编译安装openssh,RHEL6编译安装OpenSSH
下一篇:allegro linux 安装教程,Linux上Centos系统知识图谱Allegrograph 6.6.0的安装方法和流程介绍...

发表评论

最新留言

很好
[***.229.124.182]2023年05月06日 12时27分35秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

最新文章