linux - How can I find the dynamic libraries required by an ELF Binary in C++? -
how can list of dynamic libraries required elf binary in linux using c++?
once i've managed extract information (filename?) binary can find actual file searching through path
, haven't been able find information regarding extracting unmangled information elf binary.
thoughts?
you can call "readelf -d" program , parse output:
readelf -d /usr/bin/readelf | grep needed 0x0000000000000001 (needed) shared library: [libz.so.1] 0x0000000000000001 (needed) shared library: [libc.so.6]
Comments
Post a Comment