当前位置:网站首页>Compile, connect -- Notes

Compile, connect -- Notes

2022-04-23 15:53:00 wishfly

1 linux Symbols for programs and libraries ,Linux Dynamic library (.so) The symbol table

linux Symbols for programs and libraries ,Linux Dynamic library (.so) The symbol table _weixin_39528029 The blog of -CSDN Blog

1.1. Dynamic link library The symbol table of

Dynamic link library (shared object library) stay linux Li Yi .so ending , yes elf(Executable and Linkable Format) A kind of document , There are two The symbol table :“.symtab” and “.dynsym”.

.symtab:

It contains a lot of information ( Including global symbols global symbols)

.dynsym:

Only keep “.symtab” Global symbols in

so “.dynsym” Can be regarded as “.symtab” Subset .

版权声明
本文为[wishfly]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231530139964.html