Forensicsvolatility3isflinuxmacossymbolsdwarf

dwarf2json

dwarf2json is a utility that processes files containing symbol and type information to generate Volatility3 Intermediate Symbol File (ISF) JSON output for Linux and macOS analysis.

Description

dwarf2json is a Go-based tool designed to convert DWARF debug information into Volatility3's Intermediate Symbol File (ISF) JSON format. This enables memory forensics analysis on Linux and macOS systems using Volatility3, a popular memory analysis framework.

The tool is particularly useful for analysts who need to generate symbol tables from binaries or debug files, facilitating the interpretation of memory dumps without relying on pre-built symbol packs. It supports distinct commands for Linux and macOS targets, ensuring compatibility with platform-specific symbol structures.

By producing ISF JSON, dwarf2json bridges the gap between low-level debug data and high-level forensic tools, streamlining workflows in incident response and malware analysis scenarios.

How It Works

dwarf2json reads DWARF symbol and type information from input files, typically debug symbols embedded in binaries or separate DWARF files. It processes this data using Go's parsing capabilities to extract structs, functions, and other symbols relevant to Volatility3. The output is structured JSON in the ISF format, which Volatility3 plugins consume to map memory addresses to symbolic names for Linux (via 'linux' command) or macOS (via 'mac' command) analysis.

Installation

bash
sudo apt install dwarf2json

Flags

-hDisplay help usage information

Examples

Shows the usage and available commands for the tool
dwarf2json -h
Generates ISF JSON for Linux analysis from DWARF input (assumes stdin or file input)
dwarf2json linux
Generates ISF JSON for macOS analysis from DWARF input (assumes stdin or file input)
dwarf2json mac
Processes a Linux binary's DWARF data to produce Volatility3 ISF output
dwarf2json linux /path/to/binary
Processes a macOS Mach-O binary's DWARF data for ISF generation
dwarf2json mac /path/to/mach-o
Pipes DWARF data from file to generate Linux ISF JSON
cat debugfile.dw | dwarf2json linux
Displays help for the linux subcommand (inferred from usage pattern)
dwarf2json linux --help
Updated 2026-04-16kali.org ↗