ldd: add more info (#9011)

pull/1/head
Jacobus Burger 2022-10-15 05:12:54 -08:00 committed by GitHub
parent d144d74b35
commit b4efca6bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 2 deletions

View File

@ -1,12 +1,25 @@
# ldd
> Display shared library dependencies.
> Display shared library dependencies of a binary.
> Do not use on an untrusted binary, use objdump for that instead.
> More information: <https://manned.org/ldd>.
- Display shared library dependencies of a binary:
`ldd {{path/to/binary}}`
- Display all information about dependencies:
`ldd --verbose {{path/to/binary}}`
- Display unused direct dependencies:
`ldd -u {{path/to/binary}}`
`ldd --unused {{path/to/binary}}`
- Report missing data objects and perform data relocations:
`ldd --data-relocs {{path/to/binary}}`
- Report missing data objects and functions, and perform relocations for both:
`ldd --function-relocs {{path/to/binary}}`