On Validating Well Typed Programs Written in the Weakly Typed Programming Language C
Krause, Kevin. (2016). On Validating Well Typed Programs Written in the Weakly Typed Programming Language C. Theses and Dissertations Collection, University of Idaho Library Digital Collections. https://www.lib.uidaho.edu/digital/etd/items/krause_idaho_0089e_10999.html
- Title:
- On Validating Well Typed Programs Written in the Weakly Typed Programming Language C
- Author:
- Krause, Kevin
- Date:
- 2016
- Keywords:
- C errors integers type safety
- Program:
- Computer Science
- Subject Category:
- Computer science
- Abstract:
-
This dissertation is a case study of type safety with respect to the C programming
language. In short, C is not type safe, as its integer data types are not protected against
entering one of several possible error conditions. Once a single integer error occurs,
an entire system is potentially at risk to fail or is vulnerable to hostile takeover. The
consequence of error can be devastating, depending on the critical nature of the system.
At worst, the losses could have major implications on national security.
Contained within, the problem space is explored after dening the concepts behind
type safety. Then, a syntax like typing specication for the language is introduced and a
simplied static typing semantics for its expressions and statements are expressed before
a solution is oered with a prototype tool that statically analyzes an abstraction of the
original C source code for type safety violations. Algorithms for the tool are based on an
enumeration of the likely causes to enter an integer error, a formalization of the static
typing semantics of C, and the requirements for safe C language constructs. Because of
the tool's underling language and by using the aforementioned formalizations, the tool
has the ability to prove that its reasoning about the code it is analyzing is correct.
- Description:
- doctoral, Ph.D., Computer Science -- University of Idaho - College of Graduate Studies, 2016
- Major Professor:
- Alves-Foss, Jim
- Committee:
- Jeffery, Clint; Oman, Paul; O'Rourke, Michael
- Defense Date:
- 2016
- Identifier:
- Krause_idaho_0089E_10999
- Type:
- Text
- Format Original:
- Format:
- application/pdf
- Rights:
- In Copyright - Educational Use Permitted. For more information, please contact University of Idaho Library Special Collections and Archives Department at libspec@uidaho.edu.
- Standardized Rights:
- http://rightsstatements.org/vocab/InC-EDU/1.0/