dlopen-notes - Man Page
dlopen-notes.py
Synopsis
dlopen-notes.py [-r] [-s] [-f [FEATURE1,FEATURE2]] [-h] filename [filename ...]
Description
Read .note.dlopen notes from ELF files and report the contents.
ELF binaries store link-time dependencies in their headers, which can be parsed by various tools. There is no machine-readable metadata about dependencies loaded at build time via dlopen(3) available by default. The ELF Dlopen Metadata specification aims to fill this gap by defining a common format. See https://systemd.io/ELF_DLOPEN_METADATA/.
This tool allows parsing such a note, and printing out the result in various formats.
- filename
Library file to extract notes from
Options
- -r, ā--raw
Show the original JSON extracted from input files
- -s, ā--sonames
List all sonames and their priorities, one soname per line
- -f [FEATURE1,FEATURE2], --features [FEATURE1,FEATURE2]
Describe features, can be specified multiple times
Comments
If no option is specifed, --raw is the default.