macOS
brew install bloatylocal Homebrew formula metadata
sudo port install bloatyMacPorts ports tree · devel/bloaty/Portfile · 来源: api.github.com
安装
brew install bloatylocal Homebrew formula metadata
sudo port install bloatyMacPorts ports tree · devel/bloaty/Portfile · 来源: api.github.com
sudo apk add bloatyAlpine Linux edge package indexes · bloaty · 来源: dl-cdn.alpinelinux.org
sudo dnf install bloatyFedora Rawhide package metadata · bloaty · 来源: dl.fedoraproject.org
nix profile install nixpkgs#bloatynixpkgs package indexes · pkgs/by-name/bl/bloaty/package.nix · 来源: api.github.com
sudo pacman -S bloatyArch Linux sync databases · bloaty · 来源: geo.mirror.pkgbuild.com
概览
Size profiler for binaries
历史
Bloaty, formally styled in its help text as Bloaty McBloatface, is Google's open source size profiler for binaries. It became a familiar package-manager utility for engineers who care about what actually makes an executable, library, firmware image, or WebAssembly artifact large.
The official repository was created in 2016 and describes Bloaty as a size profiler for binaries. Its README frames the core question directly: finding what makes a binary big by showing size profiles across file size and virtual-memory size.
Bloaty's implementation is unusually deep for a size-reporting CLI. The README and internals documentation describe custom ELF, DWARF, and Mach-O parsing, experimental PE/COFF and WebAssembly support, disassembly-assisted attribution, hierarchical profiles, size diffs, demangling, separate debug files, and custom data sources.
The project reached Bloaty McBloatface v1.0 in August 2018 and v1.1 in May 2020. Its README also notes that it is not an official Google product, a common marker for Google-hosted open source tools that are useful outside their original internal context.
Bloaty's adoption followed the path of a specialist but widely useful developer tool: first-party docs and releases on GitHub, then packaging across major developer distributions. The input metadata records packages in Alpine apk, Homebrew, Fedora dnf, MacPorts, Nix, and Arch/pacman.
Its cross-platform binary-format support helped adoption outside one operating-system niche. Engineers working on native applications, toolchains, mobile code, embedded binaries, and Wasm can all use the same CLI vocabulary to ask where bytes went.
The basic workflow is `bloaty FILE`, optionally with `-d` data sources such as sections, symbols, segments, or compile units. Bloaty reports both file size and VM size because debug data, zero-initialized data, mapped segments, and metadata can affect disk and runtime footprints differently.
A second major workflow is size diffing: users pass a current binary and a base binary separated by `--` to see exactly which sections, symbols, compile units, or other sources grew or shrank. That makes Bloaty especially attractive for release engineering and CI checks where size regressions need blameable output.
Bloaty is package-nerd catnip because it explains package bloat with evidence instead of vibes. It bridges low-level object-file knowledge and everyday package maintenance by making debug sections, symbol tables, compile units, `.text`, `.rodata`, Mach-O load commands, and ELF program headers visible in a table humans can act on.
The tool is also a useful counterweight to vague binary-size debates. Package maintainers can compare stripped and unstripped builds, bundled dependencies, LTO changes, debug-info packaging, static-linking choices, and architecture-specific output using one reproducible CLI.
Compared with traditional tools such as `size`, `nm`, `objdump`, `readelf`, or linker map files, Bloaty packages several views into one profiler and preserves totals so the reported rows account for the whole file. That makes it unusually practical for maintainers who need to decide whether a size increase belongs in code, debug metadata, linked libraries, compiler output, or packaging policy.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bloaty | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/google/bloaty
安装元数据
| 软件包键 | brew:bloaty |
|---|---|
| 版本 | 1.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/bloaty |
| 主页 | https://github.com/google/bloaty |
| 仓库 | https://github.com/google/bloaty |
| 上游文档 | https://github.com/google/bloaty/blob/main/doc/how-bloaty-works.md |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2 |
| 最后更新 | 2026-06-20T05:07:42Z |
| Pulse | updated |
| 依赖 | abseil, capstone, protobuf, re2 |
| 构建依赖 | cmake, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bloaty |
| Version Scheme | 0 |
| Revision | 50 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
bloaty
nix profile install nixpkgs#bloatybloaty 1.1-r31
Bloaty McBloatface: a size profiler for binaries
https://github.com/google/bloaty
sudo apk add bloatybloaty 1.1-51.fc45
A size profiler for binaries
https://github.com/google/bloaty
sudo dnf install bloatybloaty 1.1-24
Size profiler for binaries
https://github.com/google/bloaty
sudo pacman -S bloatybloaty
sudo port install bloaty来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.