It seems like there are ELF libraries do not have any symbols in the symtab table. This is the case for some libraries shipped with my distro (libaio1 in Debian Buster to be specific). However, the dynsym table does contain a list of exported symbols. I think it would be great if library_info::symbols could return those, potentially only as fall-back if the symtab table is empty. Currently, it does not return them, not even if I explicitly call library_info::symbols(".dynsym").
It seems like there are ELF libraries do not have any symbols in the
symtab
table. This is the case for some libraries shipped with my distro (libaio1
in Debian Buster to be specific). However, thedynsym
table does contain a list of exported symbols. I think it would be great iflibrary_info::symbols
could return those, potentially only as fall-back if thesymtab
table is empty. Currently, it does not return them, not even if I explicitly calllibrary_info::symbols(".dynsym")
.