]> git.ipfire.org Git - thirdparty/kmod.git/commit
elf: implement kmod_module_get_dependency_symbols()
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Tue, 20 Dec 2011 13:54:53 +0000 (11:54 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Sat, 24 Dec 2011 03:44:31 +0000 (01:44 -0200)
commit674f8590e3aac67e0decd3da41407091c2d6a8d5
tree6cc2b2663513fe6a2506a478a4045274485f22fb
parent4b55befd3739364861dfaaf95fafda4111e80944
elf: implement kmod_module_get_dependency_symbols()

Uses kmod_elf_get_dependency_symbols() that looks into ".symtab" for
UNDEF symbols and matches the name from ".strtab" to "__versions" to
get crc.

Likely the public API should unify the symbol information getters and
list release, they are almost the same.
TODO
libkmod/libkmod-elf.c
libkmod/libkmod-module.c
libkmod/libkmod-private.h
libkmod/libkmod.h
libkmod/libkmod.sym
test/test-elf.c