Automic VaultAutomic Vault

brew

使用 Homebrew 安装 clang-include-graph

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clang-include-graph

local Homebrew formula metadata

概览

软件包摘要

Simple tool for visualizing and analyzing C/C++ project include graph

命令和别名

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

时间线

  • 2022: GitHub repository created.
  • 2022: Initial GitHub release 0.1.1 published.
  • 2025: Release 0.2.0 published and packaged by Homebrew as the stable version.

Related projects

  • The project is closely related to clang-uml, another bkryza Clang-based diagramming tool, but clang-include-graph focuses only on include relationships.
  • It also relies on the Clang JSON compilation database convention used by CMake, Bear, and other C/C++ build tooling.

安全态势

风险级别:绿色

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 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
clang-include-graphcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/bkryza/clang-include-graph

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

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclang-include-graph
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 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
  • package relationship graph
  • package version freshness
  • package-page enrichment