Reduce output differences with illumos
[ctfdump/.git] / ctfdump.1
CommitLineData
53477564
MP
1.\"
2.\" Copyright (c) 2016 Martin Pieuchot <mpi@openbsd.org>
3.\"
4.\" Permission to use, copy, modify, and distribute this software for any
5.\" purpose with or without fee is hereby granted, provided that the above
6.\" copyright notice and this permission notice appear in all copies.
7.\"
8.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15.\"
16.Dd $Mdocdate$
17.Dt CTFDUMP 1
18.Os
19.Sh NAME
20.Nm ctfdump
21.Nd display CTF information
22.Sh SYNOPSIS
23.Nm ctfdump
24.Op Fl dfhlst
25.Sh DESCRIPTION
26The
27.Nm
28utility display CTF information from the
29.Dv \.SUNW_ctf
30section of an
31.Xr elf 5
32file or from a raw CTF file.
33.Pp
34The options are as follows:
35.Bl -tag -width Ds
36.It Fl d
37Display the object section.
38.It Fl f
39Display the function section.
40.It Fl h
41Dump the CTF header.
42.It Fl l
43Display the label section.
44.It Fl s
45Display the string table.
46.It Fl t
47Display the type section.
48.El
49.Sh EXIT STATUS
50.Ex -std ctfdump
51.Sh SEE ALSO
52.Xr elf 5