---
name: "ctfdump"
section: "1"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/ctfdump"
---

# ctfdump(1)

dump the SUNW\_ctf section of an ELF file

## NAME

**ctfdump** – dump the SUNW\_ctf section of an ELF file

## SYNOPSIS

**ctfdump** \[**-dfhlsSt**\] **-u** *file* file

## DESCRIPTION

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)](/ctfconvert/1.md) or [ctfmerge(1)](/ctfmerge/1.md).

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.

## SEE ALSO

[ctfconvert(1)](/ctfconvert/1.md), [ctfmerge(1)](/ctfmerge/1.md), [ctf(5)](/ctf/5.md)

## HISTORY

The **ctfdump** utility first appeared in FreeBSD 7.0.

## AUTHORS

The CTF utilities came from OpenSolaris.
