Proving that your LLVM IR code is correct under concurrency
Correctness of code with threads or shared memory: absence of data races, deadlock freedom, linearizability of concurrent data structures.
Change the question
Ranked by: support for this property, stage, coverage of the features you pick, and trust. Tools that work on compiled code rank lower. Ranking as JSON.
Nothing in the index proves this for LLVM IR yet.
That may mean no such tool exists, or that we have not added it. 4 toolchains for LLVM IR exist but do not prove this property; they are listed below.
No option matches this effort level.
Verify LLVM IR, but not this property
- Alive2 — Atomic and volatile loads and stores, atomicrmw, cmpxchg and fence are rejected as unsupported by the LLVM-to-Alive2 converter.
- s2n-bignum — The machine model is sequential and single-core.
- Islaris — The paper states Islaris assumes single-threaded execution.
- LNSym — The machine state is a single sequential processor.
Ask something else about LLVM IR
- Everything
- No undefined behavior
- Functional correctness
- Equivalence
- Information flow
- Termination and liveness
New to this? Start with the glossary: auto-activeAuto-active verification. You write specifications and hints in the code; an automatic solver does the proving., interactiveInteractive theorem prover. A proof assistant where you write proofs step by step and the system checks each step., trusted computing baseTrusted computing base (TCB). Everything that must be correct for a proof to mean what it says..