Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/elftoolchain/readelf/readelf.1
Show All 18 Lines | |||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $Id: readelf.1 3753 2019-06-28 01:13:13Z emaste $ | .\" $Id: readelf.1 3753 2019-06-28 01:13:13Z emaste $ | ||||
.\" | .\" | ||||
.Dd June 27, 2019 | .Dd October 31, 2020 | ||||
.Dt READELF 1 | .Dt READELF 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm readelf | .Nm readelf | ||||
.Nd display information about ELF objects | .Nd display information about ELF objects | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl a | Fl -all | .Op Fl a | Fl -all | ||||
.Op Fl c | Fl -archive-index | .Op Fl c | Fl -archive-index | ||||
.Op Fl d | Fl -dynamic | .Op Fl d | Fl -dynamic | ||||
.Op Fl e | Fl -headers | .Op Fl e | Fl -headers | ||||
.Op Fl g | Fl -section-groups | .Op Fl g | Fl -section-groups | ||||
.Op Fl h | Fl -file-header | .Op Fl h | Fl -file-header | ||||
.Op Fl l | Fl -program-headers | .Op Fl l | Fl -program-headers | ||||
.Op Fl n | Fl -notes | .Op Fl n | Fl -notes | ||||
.Op Fl p Ar section | Fl -string-dump Ns = Ns Ar section | .Op Fl p Ar section | Fl -string-dump Ns = Ns Ar section | ||||
.Op Fl r | Fl -relocs | .Op Fl r | Fl -relocs | ||||
.Op Fl t | Fl -section-details | .Op Fl t | Fl -section-details | ||||
.Op Fl v | Fl -version | .Op Fl v | Fl -version | ||||
.Oo | .Oo | ||||
.Fl w Ns Oo Ns Ar afilmoprsFLR Ns Oc | | .Fl w Ns Oo Ns Ar afilmoprsFLR Ns Oc | | ||||
.Fl -debug-dump Ns Op Ns = Ns Ar long-option-name , Ns ... | .Fl -debug-dump Ns Op Ns = Ns Ar long-option-name , Ns ... | ||||
.Oc | .Oc | ||||
.Op Fl x Ar section | Fl -hex-dump Ns = Ns Ar section | .Op Fl x Ar section | Fl -hex-dump Ns = Ns Ar section | ||||
.Op Fl z | Fl -decompress | |||||
.Op Fl A | Fl -arch-specific | .Op Fl A | Fl -arch-specific | ||||
.Op Fl D | Fl -use-dynamic | .Op Fl D | Fl -use-dynamic | ||||
.Op Fl H | Fl -help | .Op Fl H | Fl -help | ||||
.Op Fl I | Fl -histogram | .Op Fl I | Fl -histogram | ||||
.Op Fl N | -full-section-name | .Op Fl N | -full-section-name | ||||
.Op Fl S | Fl -sections | Fl -section-headers | .Op Fl S | Fl -sections | Fl -section-headers | ||||
.Op Fl V | Fl -version-info | .Op Fl V | Fl -version-info | ||||
.Op Fl W | Fl -wide | .Op Fl W | Fl -wide | ||||
▲ Show 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
and | and | ||||
.Ar R | .Ar R | ||||
short options. | short options. | ||||
.It Fl x Ar section | Fl -hex-dump Ns = Ns Ar section | .It Fl x Ar section | Fl -hex-dump Ns = Ns Ar section | ||||
Display the contents of the specified section in hexadecimal. | Display the contents of the specified section in hexadecimal. | ||||
The argument | The argument | ||||
.Ar section | .Ar section | ||||
should be the name of a section or a numeric section index. | should be the name of a section or a numeric section index. | ||||
.It Fl z | Fl -decompress | |||||
Decompress contents of sections specified by | |||||
.Fl x | |||||
or | |||||
.Fl p | |||||
before displaying. | |||||
If the specified section is not compressed, it is displayed as is. | |||||
.It Fl A | Fl -arch-specific | .It Fl A | Fl -arch-specific | ||||
This option is accepted but is currently unimplemented. | This option is accepted but is currently unimplemented. | ||||
.It Fl D | Fl -use-dynamic | .It Fl D | Fl -use-dynamic | ||||
Print the symbol table specified by the | Print the symbol table specified by the | ||||
.Li DT_SYMTAB | .Li DT_SYMTAB | ||||
entry in the | entry in the | ||||
.Dq Li .dynamic | .Dq Li .dynamic | ||||
section. | section. | ||||
Show All 32 Lines |