Sciweavers

POPL
2012
ACM

An executable formal semantics of C with applications

12 years 6 months ago
An executable formal semantics of C with applications
This paper describes an executable formal semantics of C. Being executable, the semantics has been thoroughly tested against the GCC torture test suite and successfully passes 99.2% of 776 test programs. It is the most complete and thoroughly tested formal definition of C to date. The semantics yields an interpreter, debugger, state space search tool, and model checker “for free”. The semantics is shown capable of automatically finding program errors, both statically and at runtime. It is also used to enumerate nondeterministic behavior. Categories and Subject Descriptors D.3.1 [Programming Languages]: Formal Definitions and Theory—Semantics General Terms Languages, Standardization, Verification.
Chucky Ellison, Grigore Rosu
Added 25 Apr 2012
Updated 25 Apr 2012
Type Journal
Year 2012
Where POPL
Authors Chucky Ellison, Grigore Rosu
Comments (0)