dwarf2sources(1)

dwarf2sources1

List the source files for a given binary

Usage

dwarf2sources [-o output.json] [-s strip-prefix] [file] ...

Overview

dwarf2sources lists the source files that were used to create a given binary in JSON format. The input files must not be stripped and must contain debugging information in DWARF format.

-h, --help

Prints help information

-V, --version

Prints version information

-o, --output <output>

File to write JSON output to

-s, --strip-prefix <strip-prefix>

Strip given prefix from comp_dir paths

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11–12
  2. 13

Authors

This program was written by Sjoerd Simons based on the gimli 0.16.1 dwarfdump.rs example by Nick Fitzgerald, Philip Craig and other rust-dwarf developers.

From dwarf2sources 0.2.5-2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.