pkg.soopen package index

brew / 排名 5634

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
clang-include-graph可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本0.2.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:clang-include-graph
版本0.2.0
软件包管理器Homebrew
主页https://github.com/bkryza/clang-include-graph
仓库https://github.com/bkryza/clang-include-graph
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation