SEFLJul 20

BTOR2-Based C Program Verification via Hardware Model Checking

arXiv:2607.176226.4
Predicted impact top 66% in SE · last 90 daysOriginality Incremental advance
AI Analysis

For C program verification, C2Btor enables reuse of mature hardware model-checking backends, offering a complementary approach to existing software verifiers.

C2Btor translates C programs with assertions into BTOR2 models for hardware model checking, solving 263 SV-COMP tasks (101 more than CBMC) and achieving 75.5% accuracy on bit-vector benchmarks with no wrong verdicts.

Program verification tools often rely on specific intermediate representations and analysis backends, limiting the reuse of verification algorithms and model checkers across frameworks. In contrast, hardware model checking has developed a mature backend ecosystem, where standard formats such as BTOR2 support reusable algorithms for counterexample search and inductive safety proving. Applying these capabilities to C requires translating assertion-based programs into transition systems that hardware model checkers can directly process. We present C2Btor, a method for encoding such verification tasks into BTOR2 models. C2Btor uses a program counter to capture control transfers, represents data states and memory objects with bit-vectors and arrays, and maps assumptions and assertion checks into BTOR2 constraints and bad-state properties. We evaluate C2Btor on SV-COMP C ReachSafety benchmarks and a curated assertion-category benchmark suite, comparing it with representative program verification tools. C2Btor correctly solves 263 tasks, 101 more than CBMC configured with bounded model checking, and is especially effective on bit-vector benchmarks, where it solves 75.5% of the tasks with no wrong verdicts. These results show that the BTOR2 route allows C program verification to benefit from advances in hardware model-checking backends, expanding the available capability for counterexample search, inductive safety proving, and word-level transition-system reasoning.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes