summaryrefslogtreecommitdiffstats
path: root/docs/dlopen-notes.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 04:31:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 04:31:18 +0000
commit582186fb5046ff1037d48db2ee87bf8a87bc34cf (patch)
tree3d30c3f75ad561b9fe88023e6701ff21b751e726 /docs/dlopen-notes.1
parentReleasing progress-linux version 0.11-0.0~progress7.99u1. (diff)
downloadpackage-notes-582186fb5046ff1037d48db2ee87bf8a87bc34cf.tar.xz
package-notes-582186fb5046ff1037d48db2ee87bf8a87bc34cf.zip
Merging upstream version 0.12.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--docs/dlopen-notes.138
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/dlopen-notes.1 b/docs/dlopen-notes.1
new file mode 100644
index 0000000..e86f6ba
--- /dev/null
+++ b/docs/dlopen-notes.1
@@ -0,0 +1,38 @@
+.TH DLOPEN\-NOTES.PY "1" "2024\-05\-22" "package\-notes" "Generated Python Manual"
+.SH NAME
+dlopen\-notes.py
+.SH SYNOPSIS
+.B dlopen\-notes.py
+[-r] [-s] [-f [FEATURE1,FEATURE2]] [-h] filename [filename ...]
+.SH DESCRIPTION
+Read .note.dlopen notes from ELF files and report the contents.
+.PP
+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
+.BR \%dlopen (3)
+available by default. The ELF Dlopen Metadata specification aims to fill this
+gap, by defining a common format.
+.PP
+This tool allows parsing such a note, and printing out the result in various
+formats.
+
+.TP
+\fBfilename\fR
+Library file to extract notes from
+
+.SH OPTIONS
+.TP
+\fB\-r\fR, \fB\-\-raw\fR
+Show the original JSON extracted from input files
+
+.TP
+\fB\-s\fR, \fB\-\-sonames\fR
+List all sonames and their priorities, one soname per line
+
+.TP
+\fB\-f\fR \fI\,[FEATURE1,FEATURE2]\/\fR, \fB\-\-features\fR \fI\,[FEATURE1,FEATURE2]\/\fR
+Describe features, can be specified multiple times
+
+.SH COMMENTS
+If no option is specifed, \-\-raw is the default.