# klee を Homebrew, Nix でインストール

klee のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:klee
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install klee
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#klee
```

  証拠: nixpkgs package indexes: pkgs/by-name/kl/klee/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:klee
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/klee>
- **バージョン:** 3.2
- **ソース概要:** Symbolic Execution Engine
- **ホームページ:** <https://klee-se.org>
- **リポジトリ:** <https://github.com/klee/klee>
- **上流ドキュメント:** <https://klee-se.org>
- **ライセンス:** NCSA
- **ソースアーカイブ:** <https://github.com/klee/klee/archive/refs/tags/v3.2.tar.gz>
- **最終更新:** 2026-07-31T14:27:43Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- kleaver (cli)
- klee (cli)
- klee-exec-tree (cli)
- klee-replay (cli)
- klee-stats (cli)
- klee-zesti (cli)
- ktest-gen (cli)
- ktest-randgen (cli)
- ktest-tool (cli)
- kleaver (エイリアス)
- klee (エイリアス)
- klee-exec-tree (エイリアス)
- klee-replay (エイリアス)
- klee-stats (エイリアス)
- klee-zesti (エイリアス)
- ktest-gen (エイリアス)
- ktest-randgen (エイリアス)
- ktest-tool (エイリアス)

## 依存関係

- cryptominisat
- gmp
- gperftools
- llvm@16
- minisat
- python@3.14
- sqlite
- stp
- wllvm
- z3

## ビルド依存関係

- cmake
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 3.2
- マネージャ更新日: 2026-07-31
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/klee/klee
- 検出された最新: v3.2 (最新)
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/klee/klee>
- <https://klee-se.org/>
- <https://link.springer.com/article/10.1007/s10009-020-00570-3>
- <https://www.usenix.org/event/osdi08/tech/full_papers/cadar/cadar.pdf>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** klee
- **Version Scheme:** 0
- **Revision:** 4
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Nix - klee: normalized package name match | nixpkgs package indexes: pkgs/by-name/kl/klee/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [sqlite](https://pkg.so/ja/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [z3](https://pkg.so/ja/brew/z3/) - Runtime dependency declared by Homebrew.
- [llvm@16](https://pkg.so/ja/brew/llvm-16/) - Runtime dependency declared by Homebrew.
- [cryptominisat](https://pkg.so/ja/brew/cryptominisat/) - Runtime dependency declared by Homebrew.
- [stp](https://pkg.so/ja/brew/stp/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [lit](https://pkg.so/ja/brew/lit/) - Shares pkgdb curated category or tags: cli, developer-tools, llvm, testing.
- [lcov](https://pkg.so/ja/brew/lcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [bats-core](https://pkg.so/ja/brew/bats-core/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [allure](https://pkg.so/ja/brew/allure/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [kcov](https://pkg.so/ja/brew/kcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [mockolo](https://pkg.so/ja/brew/mockolo/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [mockery](https://pkg.so/ja/brew/mockery/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [pytest](https://pkg.so/ja/brew/pytest/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [bzt](https://pkg.so/ja/brew/bzt/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, python, python-3-14.
- [esbmc](https://pkg.so/ja/brew/esbmc/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, developer, developer-tools, gmp.

## Combined YAML source

View the package source record on GitHub. [combined/klee.yml](https://github.com/mxcl/pkgdb/blob/main/combined/klee.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
