Read the ELF dependency tree, this does not work like ldd
in that we do not execute/load code (only read
files on disk).
This is roughly a Rust port of the lddtree.py from the auditwheel project. It's intended to be used in maturin for implementing automatic repair of manylinux and musllinux wheels.
Add it to your Cargo.toml
:
toml
[dependencies]
lddtree = "0.2"
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.