macOS
brew install dwarflocal Homebrew formula metadata
sudo port install dwarfMacPorts ports tree · sysutils/dwarf/Portfile · 来源: api.github.com
安装
brew install dwarflocal Homebrew formula metadata
sudo port install dwarfMacPorts ports tree · sysutils/dwarf/Portfile · 来源: api.github.com
概览
Object file manipulation tool
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dwarf | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/elboza/dwarf-ng
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dwarf |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dwarf
sudo port install dwarf来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.