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