Find a tool · C
Proving that your C code does not leak secrets
Secrets do not influence public outputs, timing or memory access patterns (constant-time code, non-interference).
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.
-
Write a test-like harness for your C code; CBMC checks every execution up to a loop bound, giving a counterexample or a bounded proof.
Partial.No built-in non-interference or constant-time check. Symbolic shadow memory lets users build their own taint tracking (shown in the CBMC-SSM paper).
Source Partial — No built-in non-interference or constant-time check. Symbolic shadow memory lets users build their own taint tracking (shown in the CBMC-SSM paper).- Effort
- Push-button
- Covers
- 8 of 17 C features
- Relies on
- A SAT or SMT solver decides; its answer is trusted and no proof certificate is kept. C model built into CBMC; tested by its own regression suite.
Stage 1 · Usable 0/5 strong - s2n-bignum on compiled code: x86-64
Prove hand-written x86-64 or Arm64 assembly correct in HOL Light, on the exact bytes of the built object file; used for AWS's cryptography code.
Supported.Since late 2025, constant-time proofs show the instruction sequence and memory addresses do not depend on secrets and no variable-time instructions are used; done for the functions AWS-LC uses. They cannot rule out timing differences inside the hardware.
Source Supported — Since late 2025, constant-time proofs show the instruction sequence and memory addresses do not depend on secrets and no variable-time instructions are used; done for the functions AWS-LC uses. They cannot rule out timing differences inside the hardware.- Effort
- Interactive
- Covers
- 0 of 0 common features
- Relies on
- Hand-written instruction models; random co-simulation against real CPUs in CI.
Stage 1 · Usable 4/5 strong - LNSym on compiled code: AArch64
Prove Armv8 (AArch64) machine code correct in Lean 4 by symbolic simulation over a hand-written model; aimed at AWS-LC cryptographic routines.
Unknown.We found no constant-time or secrecy reasoning in the repository. Unknown — We found no constant-time or secrecy reasoning in the repository.
- Effort
- Interactive
- Covers
- 0 of 0 common features
- Relies on
- Hand-written AArch64 subset; random co-simulation against real Arm CPUs in CI. Opcodes are pasted from objdump into Lean; not linked to the binary by a proof.
Stage 0 · Research 2/5 strong
No option matches this effort level.
Or write new verified code that compiles to C
You write the code in a verification language; its compiler produces the C code.
- F* with Low* (KaRaMeL to C) Stage 2 · Production write in F* (Low*), then KaRaMeL (trusted)
Verify C, but not this property
- Verified Software Toolchain (Verifiable C) — The program logic has no rules for secrecy or timing. Published VST work proves cryptographic security by composing functional correctness with separate Rocq proofs, not information-flow properties of the C code.
- Frama-C WP — WP has no built-in support. Non-interference can be stated with the separate RPP plug-in, and Frama-C's SecureFlow tool targets information flow, but neither is part of WP; constant-time is not covered.
- Alive2 — No support for secrecy or constant-time properties.
- CN — No support for secrecy or timing properties was found in the documentation.
- Islaris — No support for secrecy or constant-time properties is described.
Ask something else about C
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..