学位论文详细信息
A formal semantics of C with applications
K framework;formal semantics;C programming language;undefined behavior
Ellison, Charles
关键词: K framework;    formal semantics;    C programming language;    undefined behavior;   
Others  :  https://www.ideals.illinois.edu/bitstream/handle/2142/34297/Ellison_Charles.pdf?sequence=1&isAllowed=y
美国|英语
来源: The Illinois Digital Environment for Access to Learning and Scholarship
PDF
【 摘 要 】

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.

【 预 览 】
附件列表
Files Size Format View
A formal semantics of C with applications 3571KB PDF download
  文献评价指标  
  下载次数:8次 浏览次数:6次