Abstract
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.
| Original language | English (US) |
|---|---|
| Pages (from-to) | 533-544 |
| Number of pages | 12 |
| Journal | ACM SIGPLAN Notices |
| Volume | 47 |
| Issue number | 1 |
| DOIs | |
| State | Published - Jan 2012 |
ASJC Scopus subject areas
- General Computer Science
Fingerprint
Dive into the research topics of 'An executable formal semantics of C with applications'. Together they form a unique fingerprint.Cite this
- APA
- Standard
- Harvard
- Vancouver
- Author
- BIBTEX
- RIS