1.\" $NetBSD: ctfdump.1,v 1.2 2013/01/19 01:22:13 wiz Exp $ 2.\" 3.\" Copyright (c) 2010 The FreeBSD Foundation 4.\" All rights reserved. 5.\" 6.\" This software was developed by Rui Paulo under sponsorship from the 7.\" FreeBSD Foundation. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" $FreeBSD: src/cddl/usr.bin/ctfdump/ctfdump.1,v 1.1 2010/08/11 18:00:45 rpaulo Exp $ 31.\" 32.Dd July 7, 2010 33.Dt CTFDUMP 1 34.Os 35.Sh NAME 36.Nm ctfdump 37.Nd dump the SUNW_ctf section of an ELF file 38.Sh SYNOPSIS 39.Nm 40.Op Fl dfhlSst 41.Fl u Ar ufile 42.Ar file 43.Sh DESCRIPTION 44The 45.Nm 46utility dumps the contents of the CTF data section (SUNW_ctf) present in 47an ELF binary file. 48This section was previously created with 49.Xr ctfconvert 1 50or 51.Xr ctfmerge 1 . 52.Pp 53The following options are available: 54.Bl -tag -width indent 55.It Fl d 56Show the data object section. 57.It Fl f 58Show the function section. 59.It Fl h 60Show the header. 61.It Fl l 62Show the label section. 63.It Fl S 64Show statistics. 65.It Fl s 66Show the string table. 67.It Fl t 68Show the type section. 69.It Fl u Ar ufile 70Write the uncompressed CTF data to a raw CTF file called 71.Ar ufile . 72.El 73.Sh EXIT STATUS 74.Ex -std 75.Sh SEE ALSO 76.Xr ctfconvert 1 , 77.Xr ctfmerge 1 78.Sh HISTORY 79The 80.Nm 81utility first appeared in 82.Fx 7.0 . 83.Sh AUTHORS 84The CTF utilities came from OpenSolaris. 85