macOS
brew install clang-include-graphlocal Homebrew formula metadata
安装
brew install clang-include-graphlocal Homebrew formula metadata
概览
Simple tool for visualizing and analyzing C/C++ project include graph
历史
clang-include-graph is a small Clang-based command-line tool for inspecting C and C++ include relationships and exporting those relationships as textual, JSON, Graphviz, GraphML, or PlantUML output.
The public GitHub repository was created in 2022 and the first GitHub release was tagged as 0.1.1 in July 2022. The README positions the project as a simple include-graph analyzer built around LLVM/Clang compilation database inputs.
The project stayed narrow by design: its documented feature set is include-tree printing, reverse trees, topological order, cycle listing, dependant lookup, and graph export rather than a broader static-analysis platform.
Homebrew packages clang-include-graph from GitHub release archives and ships bottles for macOS and Linux. Homebrew analytics showed 412 installs over the prior 365 days for the formula, indicating niche but real command-line distribution.
The tool expects a compile_commands.json database or compile_flags.txt, then lets users select translation units and choose output formats such as JSON, Graphviz, GraphML, PlantUML, tree views, cycles, or dependency queries.
For package-manager users it is a compact example of a modern LLVM-dependent C++ analysis CLI: the formula tracks tagged GitHub tarballs, depends on boost and llvm, and exists primarily to make source-tree architecture inspection scriptable.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clang-include-graph | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bkryza/clang-include-graph
安装元数据
| 软件包键 | brew:clang-include-graph |
|---|---|
| 版本 | 0.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/clang-include-graph |
| 主页 | https://github.com/bkryza/clang-include-graph |
| 仓库 | https://github.com/bkryza/clang-include-graph |
| 上游文档 | https://github.com/bkryza/clang-include-graph#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/bkryza/clang-include-graph/archive/refs/tags/0.2.0.tar.gz |
| 依赖 | boost, llvm |
| 构建依赖 | 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 | clang-include-graph |
| Version Scheme | 0 |
| Revision | 2 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.