Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 dwarf

查看 dwarf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dwarf

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dwarf

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

概览

软件包摘要

Object file manipulation tool

命令和别名

  • dwarf

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dwarfcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.4.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本dwarf-0.4.0

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

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:dwarf
版本0.4.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dwarf
主页https://github.com/elboza/dwarf-ng/
仓库https://github.com/elboza/dwarf-ng
上游文档https://github.com/elboza/dwarf-ng#readme
许可证GPL-2.0-or-later
源码归档https://github.com/elboza/dwarf-ng/archive/refs/tags/dwarf-0.4.0.tar.gz
依赖flex, readline
Bottle可用 (于 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-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

dwarf

sudo port install dwarf
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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