文件名称:Random_Testing_of_C_Calling_Conventions
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:169.42kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
In a C compiler, function calls are difficult to implement
correctly because they must respect a platform-specific calling
convention. But they are governed by a simple invariant:
parameters passed to a function must be received unaltered.
A violation of this invariant signals an inconsistency in a
compiler. We automatically test the consistency of C compilers
using randomly generated programs. An inconsistency
manifests itself as an assertion failure when compiling and
running the generated code. The generation of programs is
type-directed and can be controlled by the user with composable
random generators in about 100 lines of Lua. Lua
is a scr ipting language built into our testing tool that drives
program generation. Random testing is fully automatic, requires
no specification, yet is comparable in effectiveness
with specification-based testing from prior work. Using this
method, we uncovered 13 new bugs in mature open-source
and commercial C compilers.
correctly because they must respect a platform-specific calling
convention. But they are governed by a simple invariant:
parameters passed to a function must be received unaltered.
A violation of this invariant signals an inconsistency in a
compiler. We automatically test the consistency of C compilers
using randomly generated programs. An inconsistency
manifests itself as an assertion failure when compiling and
running the generated code. The generation of programs is
type-directed and can be controlled by the user with composable
random generators in about 100 lines of Lua. Lua
is a scr ipting language built into our testing tool that drives
program generation. Random testing is fully automatic, requires
no specification, yet is comparable in effectiveness
with specification-based testing from prior work. Using this
method, we uncovered 13 new bugs in mature open-source
and commercial C compilers.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Random_Testing_of_C_Calling_Conventions.pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.