-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathelfy.1
80 lines (54 loc) · 1.55 KB
/
elfy.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.TH elfy 1 "2022-06-04" "elfy"
.SH NAME
elfy \- display information about ELF files
.SH SYNOPSIS
\fBelfy\fR [\fB--help\fR] [\fB--version\fR] [\fB-h\fR] [\fB-p\fR] [\fB-s\fR] [\fB-d\fR] [\fB--symtab\fR] [\fB--dyn-syms\fR] [\fB-a\fR] [\fB--no-color\fR] [\fIFILE\fR]
.SH DESCRIPTION
\fBelfy\fR is a tool for displaying information about an ELF \fIFILE\fR.
.PP
It currently support parsing the:
.RS
.IP \[bu] 2
file header
.IP \[bu]
program headers
.IP \[bu]
section headers
.IP \[bu]
dynamic section
.IP \[bu]
symbol table
.IP \[bu]
dynamic symbol table
.RE
.SH OPTIONS
.IP "\fB--help\fR"
Display the usage and exit
.IP "\fB--version\fR"
Display the version number of elfy and exit
.IP "\fB-h\fR, \fB--file-header\fR"
Display the ELF file header
.IP "\fB-p\fR, \fB--program-headers\fR"
Display the program headers
.IP "\fB-s\fR, \fB--section-headers\fR"
Display the section headers
.IP "\fB-d\fR, \fB--dynamic\fR"
Display the dynamic section
.IP "\fB--symtab\fR"
Display the symbol table
.IP "\fB--dyn-syms\fR"
Display the dynamic symbol table
.IP "\fB-a\fR, \fB--all\fR"
Equivalent to \fB-h\fR \fB-p\fR \fB-s\fR \fB-d\fR \fB--symtab\fR \fB--dyn-syms\fR
.IP "\fB--no-color\fR"
Disable colored output
.SH ENVIRONMENT
The behavior of \fBelfy\fR is affected by the following environment variables.
.IP "\fBNO_COLOR\fR"
When present and not an empty string (regardless of its value), prevents the addition of color.
.SH AUTHOR
Gustavo Costa <[email protected]>
.SH BUGS
Report bugs to <https://github.com/xfgusta/elfy/issues>
.SH COPYRIGHT
Copyright (c) 2022 Gustavo Costa