AliveToolkit/alive2
Automatic verification of LLVM optimizations observed · 2026-09-01
Health v2 · maintenance only
71/100
- Activity 100
- Release rhythm 18
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 101.5
- age_days: 3007
- days_rel: 386
- days_push: 2
- n_releases_24m: 3
Adoption not part of the score
1162 stars · 159 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Alive2 is a set of C++ libraries and tools for automatically verifying LLVM code and optimization transformations using symbolic execution and SMT solving. It provides translation validation plugins for clang and LLVM's opt, a standalone verifier (alive-tv), and a UB-precise LLVM IR interpreter.
Use cases
- verify that an LLVM optimization pass preserves semantics
- check compiler transformations for miscompilation bugs
- run translation validation while compiling C/C++ with clang
- interpret LLVM IR with precise undefined behavior detection
- fuzz-test LLVM passes for correctness
- validate IR refinements with an SMT solver
When to choose
- you are developing or testing LLVM optimization passes and need automatic correctness checking
- you want to catch miscompilations in compiler transformations before they ship
- you need a UB-precise interpreter for LLVM IR
When to avoid
- you need inter-procedural transformation verification, which Alive2 does not support
- you work with languages or IRs other than LLVM IR
- you need a lightweight tool without building LLVM and Z3 from source
Facets
library · maturity active
testing compiler interpreter developer-tools compilers developer-tools programming-languages windows cpp cli llvm translation-validation smt z3 symbolic-execution formal-verification llvm-ir optimization-verifier algorithms linux macos
1 source
- readme: https://github.com/AliveToolkit/alive2 · fetched 2026-09-01 · f76a35f0c785
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| AliveToolkit/alive2 | main | 71 |
For agents
markdown · JSON · MCP: product_card(name="AliveToolkit/alive2")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem