Automic VaultAutomic Vault

brew

Install dwarf with Homebrew, MacPorts

Object file manipulation tool. Version 0.4.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dwarf

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install dwarf

MacPorts ports tree · sysutils/dwarf/Portfile · source: api.github.com

overview

Package summary

Object file manipulation tool

Commands and aliases

  • dwarf

history

Project history and usage

dwarf is the command shipped by dwarf-ng, a small object-file manipulation tool and hex editor in the spirit of gdb. Despite the name, it is not the libdwarf/dwarfdump DWARF-debug-info package; it focuses on reading and editing Raw, ELF, PE, and Mach-O files.

Project history

The dwarf-ng man page is dated 2007-2011 and credits Fernando Iazeolla as founder and core developer. The README's usage banner identifies dwarf-ng 0.4.0 with copyright years 2007, 2013, and 2017.

The project later moved from an older code.google.com homepage reference to GitHub; the current GitHub repository was created in May 2013. The README describes the tool as a command-line hex editor and object-file manipulator with an interactive shell and a command language.

Adoption history

Public adoption appears small. The input metadata lists Homebrew and MacPorts packages, and GitHub metadata shows a niche repository rather than a broad ecosystem project. That makes the history useful mainly for distinguishing the package from DWARF debug-info tooling with similar names.

How it is used

Users run dwarf against object files to inspect file information, print bytes and structured headers, edit blocks, create or remove headers, inject data, and work interactively. The man page documents support for ELF, PE, Mach-O, and Mach-O fat binaries.

The tool reads /etc/dwarfrc and ~/.dwarfrc for settings such as working on a temporary copy, verbosity, temporary paths, and colors.

Why package nerds care

The package is significant mostly as a naming trap and a small binary-analysis artifact. In package indexes, brew:dwarf can be mistaken for DWARF debugging utilities, but its actual role is closer to a scriptable hex/object editor adjacent to readelf, objdump, otool, gdb, ht, elfsh, and elfdump.

Timeline

  • 2007: The man page copyright range begins, marking the early dwarf-ng era.
  • 2011: The hosted man page is generated from the dwarf-ng manual.
  • 2013: The official GitHub repository is created.
  • 2017: The README usage banner lists dwarf-ng 0.4.0 with 2017 in the copyright range.

Related projects

  • The man page lists readelf, objdump, ht, otool, gdb, elfsh, and elfdump as related tools.
  • ELF, PE, Mach-O, and raw binary files are the file formats documented by the README and man page.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
dwarfcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.4.0
manager updated
local dataok
upstreamcurrent
latest detecteddwarf-0.4.0

https://github.com/elboza/dwarf-ng

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:dwarf
Version0.4.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dwarf
Homepagehttps://github.com/elboza/dwarf-ng/
Repositoryhttps://github.com/elboza/dwarf-ng
Upstream docshttps://github.com/elboza/dwarf-ng#readme
LicenseGPL-2.0-or-later
Source archivehttps://github.com/elboza/dwarf-ng/archive/refs/tags/dwarf-0.4.0.tar.gz
Dependenciesflex, readline
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedwarf
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

dwarf

sudo port install dwarf
  • normalized package name match
  • Matched by: Dwarf
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/dwarf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment