dlopen-notes.py
Contents
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.
This tool allows parsing such a note, and printing out the result in various formats.
filename
Library file to extract notes from
Name
dlopen-notes.py
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
Synopsis
dlopen-notes.py [-r] [-s] [-f [FEATURE1,FEATURE2]] [-h] filename [filename ...]

Comments
If no option is specifed, --raw is the default. package-notes 2024-05-22 DLOPEN-NOTES.PY(1)