---
name: "ctfdump"
section: "1"
platform: "linux"
package: "ctfutils"
version: "10.3~svn297264-2+b1"
release: "Debian 10 (Buster)"
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 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)

## HISTORY

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

## AUTHORS

The CTF utilities came from OpenSolaris.
