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.

Releases

37 releases since FreeBSD 8.2-RELEASE; the text changed 25 times.

  1. 8.2
  2. 8.3
  3. 8.4
  4. 9.0
  5. 9.1
  6. 9.2
  7. 9.3
  8. 10.0
  9. 10.1
  10. 10.2
  11. 10.3
  12. 10.4
  13. 11.0
  14. 11.1
  15. 11.2
  16. 11.3
  17. 11.4
  18. 12.0
  19. 12.1
  20. 12.2
  21. 12.3
  22. 12.4
  23. 13.0–13.1
  24. 13.2
  25. 13.3–15.1
  26. 16.0

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.