elfdeps(1) - SerenityOS man pages

#Name

elfdeps - list ELF object dynamic dependencies

#Synopsis

$ elfdeps [-r] [-f] <path>

#Description

elfdeps prints all dependency libraries of an ELF object.

#Options

#Arguments

#Security

The elfdeps binary is completely safe for usage on untrusted binaries - we only use the LibELF code for doing library resolving, and the actual binary interpreter (when specified in an ELF exectuable) is never called to decode the dependency information.

#Examples

# List all dependency libraries for libc.so
$ elfdeps -f /usr/lib/libc.so
# List all dependency libraries for /bin/id
$ elfdeps /bin/id
# List all dependency libraries for /bin/WindowServer
$ elfdeps /bin/WindowServer