Back to results

University of Illinois at Urbana-Champaign

A formal semantics of C with applications

Abstract

dc:description

This dissertation shows that complex, real programming languages can be completely formalized in the K Framework, yielding interpreters and analysis tools for testing and bug detection. This is demonstrated by providing, in K, the first complete formal semantics of the C programming language. With varying degrees of effort, tools such as interpreters, debuggers, and model-checkers, together with tools that check for memory safety, races, deadlocks, and undefined behavior are then generated from the semantics. Being executable, the semantics has been thoroughly tested against the GCC torture test suite and successfully passes 99.2% of 776 test programs. The semantics is also evaluated against popular analysis tools, using a new test suite in addition to a third-party test suite. The semantics-based tool performs at least as well or better than the other tools tested.

Degree

thesis:*
Name thesis:degree_name
Ph.D.
Level thesis:degree_level
Dissertation
Discipline thesis:degree_discipline
Computer Science
Grantor
University of Illinois at Urbana-Champaign
Year dc:date
2012

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ellison, Charles
Contributors dc:contributor
  • Rosu, Grigore
  • Agha, Gul A.
  • Meseguer, José
  • Schulte, Wolfram

Subjects

dc:subject × 4

Rights

dc:rights
Statement dc:rights
  • Copyright 2012 Charles M. Ellison III
Language dc:language
en

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/2142/34297
OAI identifier oai:identifier
oai:www.ideals.illinois.edu:2142/34297

Chain of custody

source
Harvested from
University of Illinois - Urbana-Champaign
Base URL
www.ideals.illinois.edu/oai-pmh
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Ellison, Charles. A formal semantics of C with applications. Dissertation thesis, University of Illinois at Urbana-Champaign, 2012. http://hdl.handle.net/2142/34297