25th International Conference on Software Engineering, 2003. Proceedings. · 2003 · 130 citations · 14 references
ComputingComputer ScienceFormal MethodsSoftware EngineeringTheory Of ComputationDeductive VerificationEquivalence CheckingModel CheckingTheorem ProvingVerificationBoolean SatisfiabilityComplexityCompositional VerificationModular VerificationPredicate AbstractionProgram VerificationSoftware ComponentsSoftware Verification
The paper proposes a new methodology for automatically verifying C programs against finite state machine specifications. The method decomposes verification into manageable subproblems using weak simulation, extracts finite models from C code via predicate abstraction and theorem proving, and checks conformance by reducing weak simulation to SAT, implemented in the tool MAGIC which integrates with existing theorem provers and SAT solvers. Experimental evaluation on Linux kernel, OpenSSL, and industrial benchmarks demonstrates the approach’s practicality.
We present a new methodology for automatic verification of C programs against finite state machine specifications. Our approach is compositional, naturally enabling us to decompose the verification of large software systems into subproblems of manageable complexity. The decomposition reflects the modularity in the software design. We use weak simulation as the notion of conformance between the program and its specification. Following the counterexample guided abstraction refinement (CEGAR) paradigm, our tool MAGIC first extracts a finite model from C source code using predicate abstraction and theorem proving. Subsequently, weak simulation is checked via a reduction to Boolean satisfiability. MAGIC has been interfaced with several publicly available theorem provers and SAT solvers. We report experimental results with procedures from the Linux kernel, the OpenSSL toolkit, and several industrial strength benchmarks.
14
Statecharts: a visual formalism for complex systems
David Harel · Science of Computer Programming · 1987 · 6.7K citations
Wojciech Penczek · Science of Computer Programming · 1990 · 4K citations
Communicating sequential processes
C. A. R. Hoare · Communications of the ACM · 1978 · 3.5K citations · Full text