carta
ctfdump(1)

ctfdump1

Dump the sunw_ctf section of an elf file

Usage

ctfdump [-dfhlsSt] -u file file

Overview

The ctfdump utility dumps the contents of the CTF (Compact C Type Format) data section (SUNW_ctf) present in an ELF binary file. This section was previously created with ctfconvert(1) or ctfmerge(1).

The following options are available:

-d

Show the data object section.

-f

Show the function section.

-h

Show the header.

-l

Show the label section.

-s

Show the string table.

-S

Show statistics.

-t

Show the type section.

-u ufile

Write the uncompressed CTF data to a raw CTF file called ufile.

Exit status

The ctfdump utility exits 0 on success, and >0 if an error occurs.

History

  • FreeBSD 16.0-CURRENT (2026-10-27): the text shown here
  • FreeBSD 15.1-RELEASE to FreeBSD 13.3-RELEASE
  • FreeBSD 13.2-RELEASE
  • FreeBSD 13.1-RELEASE to FreeBSD 13.0-RELEASE
  • FreeBSD 12.4-RELEASE
  • FreeBSD 12.3-RELEASE
  • FreeBSD 12.2-RELEASE
  • FreeBSD 12.1-RELEASE
  • FreeBSD 12.0-RELEASE
  • FreeBSD 11.4-RELEASE
  • FreeBSD 11.3-RELEASE
  • FreeBSD 11.2-RELEASE
  • FreeBSD 11.1-RELEASE
  • FreeBSD 11.0-RELEASE
  • FreeBSD 10.4-RELEASE
  • FreeBSD 10.3-RELEASE
  • FreeBSD 10.2-RELEASE
  • FreeBSD 10.1-RELEASE
  • FreeBSD 10.0-RELEASE
  • FreeBSD 9.3-RELEASE
  • FreeBSD 9.2-RELEASE
  • FreeBSD 9.1-RELEASE
  • FreeBSD 9.0-RELEASE
  • FreeBSD 8.4-RELEASE
  • FreeBSD 8.3-RELEASE
  • FreeBSD 8.2-RELEASE

History

The ctfdump utility first appeared in FreeBSD 7.0.

Authors

The CTF utilities came from OpenSolaris.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.