-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from bluca/manpage
Check manpage in git
- Loading branch information
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
debian/dh_dlopenlibdeps.1 | ||
usr/share/man/man1/dlopen-notes.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |