Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, zypper 安装 klee

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install klee

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#klee

nixpkgs package indexes · pkgs/by-name/kl/klee/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install klee

openSUSE Tumbleweed package metadata · klee · 来源: download.opensuse.org

概览

软件包摘要

Symbolic Execution Engine

命令和别名

  • kleaver
  • klee
  • klee-exec-tree
  • klee-replay
  • klee-stats
  • klee-zesti
  • ktest-gen
  • ktest-randgen
  • ktest-tool

历史

项目历史与用法

KLEE is a dynamic symbolic execution engine for LLVM bitcode. It became influential because the 2008 OSDI paper demonstrated automatic test generation and bug finding on real Unix software at a scale that made symbolic execution feel practical rather than purely academic.

项目历史

KLEE was initially developed at Stanford by Cristian Cadar, Daniel Dunbar, and Dawson Engler and presented at OSDI 2008. The project site describes it as a symbolic execution engine built on LLVM, and the repository describes the two central pieces: the core symbolic virtual machine and a POSIX/Linux emulation layer for running bitcode programs with symbolic operating-system inputs.

The OSDI evaluation is the historical anchor for KLEE: it ran on GNU Coreutils, BusyBox, MINIX utilities, and the HiStar kernel, using generated tests to expose crashes and correctness problems in heavily used systems code. That paper established the shape of KLEE's long-term identity: a research tool that is still packaged as a practical command-line engine.

采用历史

KLEE has been adopted most visibly in research, program-analysis teaching, and systems-testing workflows. A 2020 journal article describes KLEE as a popular dynamic symbolic execution engine that began at Stanford and was later primarily developed and maintained by the Software Reliability Group at Imperial College London.

Package-manager adoption followed from that academic and systems-tooling footprint. The Homebrew formula ships the `klee`, `kleaver`, `ktest-tool`, replay, stats, and test-generation utilities, reflecting KLEE's role as a suite rather than a single binary.

使用方式

Users compile C or C++ programs to LLVM bitcode, mark inputs symbolic, and run KLEE to explore feasible paths and emit concrete test cases. The POSIX runtime lets KLEE model command-line arguments, files, environment variables, and other parts of a Unix process environment, making it especially attractive for testing command-line utilities.

为什么软件包爱好者会关心

KLEE matters to package nerds because it turns the package archive itself into test material: Coreutils, BusyBox, and MINIX utilities were not toy examples but ordinary low-level programs. It is also a good example of why some research artifacts become durable packages: the build may be specialized, but the command-line behavior is useful enough for distributions to preserve.

时间线

  • 2008: OSDI paper presented KLEE as a symbolic execution tool for high-coverage tests on complex systems programs.
  • 2008: The OSDI evaluation reported KLEE runs over more than 452 programs and serious bugs in Coreutils, BusyBox, MINIX, and HiStar.
  • 2020: A journal article described KLEE's post-Stanford maintenance and its academic and industry community.
  • 2025-12-23: GitHub releases page listed KLEE 3.2.

Related projects

  • KLEE is related to LLVM, STP and other SMT-backed solver tooling, S2E, angr, CBMC, AFL-style testing workflows, and the POSIX utility suites used in its original evaluation.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:repl

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 10 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kleavercli全局可执行文件
kleecli全局可执行文件
klee-exec-treecli全局可执行文件
klee-replaycli全局可执行文件
klee-statscli全局可执行文件
klee-zesticli全局可执行文件
ktest-gencli全局可执行文件
ktest-randgencli全局可执行文件
ktest-toolcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本3.2
管理器更新时间2026-06-08
本地数据OK
上游当前
检测到的最新版本v3.2

https://github.com/klee/klee

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:klee
版本3.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/klee
主页https://klee-se.org
仓库https://github.com/klee/klee
上游文档https://klee-se.org/docs
许可证NCSA
源码归档https://github.com/klee/klee/archive/refs/tags/v3.2.tar.gz
最后更新2026-06-08T22:11:52Z
Pulseupdated
依赖cryptominisat, gmp, gperftools, llvm@16, minisat, python@3.14, sqlite, stp, wllvm, z3
构建依赖cmake, pkgconf
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameklee
Version Scheme0
Revision3
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

klee

nix profile install nixpkgs#klee
  • normalized package name match
  • 匹配方式:Klee
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kl/klee/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

klee 3.2+20260221-1.2

LLVM Execution Engine

http://klee.github.io/

sudo zypper install klee
  • License: NCSA
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: klee
  • 12 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Klee
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: klee from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

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