SeaHorn
seahorn.github.io
- macOS
- Linux
- Self-hosted
What SeaHorn is
SeaHorn is a free, open-source framework for automated analysis of C and other LLVM-based programs, developed primarily for research in automated verification. It is not a ready-made static analyzer; users assemble its frontend, middle end, and backend components. The frontend prepares LLVM bitcode, and the middle end expresses verification conditions as Constrained Horn Clauses. Backend engines apply SMT-based model checking, including PDR/IC3 methods. SeaHorn supports abstract interpretation, context-sensitive pointer analysis, bounded model checking, constrained-Horn-clause software model checking, and termination or non-termination analysis. The `sea pf` command verifies C assertions and can show invariants for safe results or save executable counterexamples for violations. Optional Crab analysis supplies numerical invariants. `sea inspect` reports program structure and can produce memory or call graphs. Docker is described as the easiest starting point. Building requires LLVM, Z3, and Boost, with library versions subject to change.
Who it suits
SeaHorn suits researchers and developers analyzing C or LLVM IR in self-hosted Linux or macOS environments. It is intended for users comfortable assembling verification workflows rather than using a turnkey analyzer.
Good to know, and what to watch
- Supports several verification methods
- Produces executable counterexamples
- Can analyze termination and non-termination
- Docker distribution eases setup
- Open source under a modified BSD license
- Not an out-of-the-box static analyzer
- Build requires LLVM, Z3, and Boost
- Docker image was updated about seven years ago
- Primarily aimed at verification research
The verdict
SeaHorn combines LLVM processing, Horn-clause generation, abstract interpretation, and SMT model checking in a research-oriented framework. Its capabilities are broad, but setup and workflow require technical expertise.
What the maker publishes
- Additional analysis
- SeaHorn’s `sea inspect` command can report program structure and generate memory or call graph data. source
- Analysis engines
- Its backend uses SMT-based model checking engines based on PDR/IC3, and uses CRAB to provide numerical invariants through abstract interpretation. source
- Analysis output
- The `sea pf` command can display computed invariants for a safe result or save a counterexample for a violation. source
- Counterexamples
- SeaHorn can produce executable counterexamples when it finds a violation. source
- C verification
- Its `sea pf` command takes a C program with assertions, translates it to LLVM bitcode, generates verification conditions, and solves them. source
- Dependencies
- Building SeaHorn requires LLVM, Z3, and Boost; its README says the exact library versions change. source
- Download
- The project describes its Docker distribution as the easiest way to get started; the nightly tag is automatically refreshed daily. source
- Download
- The site links to a SeaHorn Docker image described as SeaHorn for LLVM 3.8; Docker Hub shows the nightly image command as `docker pull seahorn/seahorn:nightly`. source
- Founders
- The site lists Arie Gurfinkel, Temesghen Kahsai, and Jorge Navas as founders. source
- Frontend
- Its frontend takes an LLVM-based program such as C and generates LLVM IR bitcode, preprocessing and optimizing it for verification. source
- Image status
- Docker Hub says the SeaHorn image was updated about 7 years ago and lists its size as 642.7 MB. source
- Inconsistency checking
- SeaHorn detects inconsistent code fragments by computing path coverage for generated Horn clauses. source
- Integrations
- The site identifies CRAB as the abstract interpretation analyzer SeaHorn uses to provide numerical invariants. source
- License
- SeaHorn is distributed under a modified BSD license. source
- Model checking
- SeaHorn supports SMT-based bounded model checking and constrained Horn clause based software model checking. source
- Not a turnkey analyzer
- The project says SeaHorn is not an out-of-the-box static analysis tool. source
- Optional analysis component
- Crab abstract interpretation is optional and can supply invariants to SeaHorn’s Spacer backend. source
- Platforms
- The README includes build instructions for Linux and a separate section on compiling on a Mac. source
- Pricing
- The opened official site provides a Download section but no pricing information. source
- Purpose
- SeaHorn is an automated analysis framework for LLVM-based languages, developed primarily for research in automated verification. source
- Purpose
- SeaHorn is a verification framework for LLVM-based programs. source
- Static analysis
- Supported features include abstract interpretation based static analysis and context-sensitive pointer analysis. source
- Support
- The project says it provides support to new users and invites users to report issues when Docker tags become stale. source
- Termination analysis
- The official site says SeaHorn can prove program termination and non-termination using candidate ranking functions and backend verification engines. source
Checked against the maker's pages on 10 Oct 2026.