commit | 45e6db9c016b7802f2013b22ad63e7005f5683ef | [log] [tgz] |
---|---|---|
author | Gustavo Sverzut Barbieri <barbieri@profusion.mobi> | Mon Dec 19 21:23:13 2011 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Sat Dec 24 01:44:31 2011 -0200 |
tree | c70955a4b2aa905ebe701cffd640ea4ed90aaf79 | |
parent | 9bbb72df05393f59a64358eba07e32bfedf097d4 [diff] |
elf: add get_symbols() Similar to module-init-tools load_symbols(), it will try .symtab and .strtab for symbols starting with __crc_, if they are found their crc is read from ELF's Elf_Sym::st_value. If not found, then it will fallback to __ksymtab_strings.