Modular verification of software components in C 论文

2004IEEE Transactions on Software Engineering引用 311
Formal Methods in VerificationLogic, programming, and type systemsSoftware Testing and Debugging Techniques

详细信息

发表期刊/会议
IEEE Transactions on Software Engineering
发表日期
2004-06-01
发表年份
2004

关键词

Formal Methods in VerificationLogic, programming, and type systemsSoftware Testing and Debugging Techniques

摘要

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.