A Formal Semantics of C with Applications: Technical Report
Ellison, Chucky M.; Rosu, Grigore
Loading…
Permalink
https://hdl.handle.net/2142/17414
Description
Title
A Formal Semantics of C with Applications: Technical Report
Author(s)
Ellison, Chucky M.
Rosu, Grigore
Issue Date
2011-11-22
Keyword(s)
C
specification
semantics
executable semantics
formal semantics
C programming language
evaluation order
static analysis
dynamic analysis
Abstract
"This paper describes an executable formal semantics of C expressed using a formalism based on term rewriting. Being executable, the semantics has been thoroughly tested against the GCC torture test suite and successfully passes over 96% of 715 test programs. It is the most complete and thoroughly tested formal definition of C to date.
The semantics yields an interpreter, debugger, and state space search tool ""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. These techniques together allow the tool to identify undefined programs."
Use this login method if you
don't
have an
@illinois.edu
email address.
(Oops, I do have one)
IDEALS migrated to a new platform on June 23, 2022. If you created
your account prior to this date, you will have to reset your password
using the forgot-password link below.