首页> 外文会议>IEEE/ACM International Conference on Software Engineering: Companion >Weak-Assert: A Weakness-Oriented Assertion Recommendation Toolkit for Program Analysis
【24h】

Weak-Assert: A Weakness-Oriented Assertion Recommendation Toolkit for Program Analysis

机译:弱断言:用于计划分析的弱点断言推荐工具包

获取原文
获取外文期刊封面目录资料

摘要

Assertions are helpful in program analysis, such as software testing and verification. The most challenging part of automatically recommending assertions is to design the assertion patterns and to insert assertions in proper locations. In this paper, we develop Weak-Assert, a weakness-oriented assertion recommendation toolkit for program analysis of C code. A weakness-oriented assertion is an assertion which can help to find potential program weaknesses. Weak-Assert uses well-designed patterns to match the abstract syntax trees of source code automatically. It collects significant messages from trees and inserts assertions into proper locations of programs. These assertions can be checked by using program analysis techniques. The experiments are set up on Juliet test suite and several actual projects in Github. Experimental results show that Weak-Assert helps to find 125 program weaknesses in 26 actual projects. These weaknesses are confirmed manually to be triggered by some test cases.
机译:断言有助于程序分析,例如软件测试和验证。最具挑战性的自动推荐断言的部分是设计断言模式,并在适当的位置插入断言。在本文中,我们开发了弱势断言,是C代码的程序分析的弱点导向的断言推荐工具包。面向弱点的断言是一个断言,可以帮助找到潜在的计划缺点。弱声aserert使用精心设计的模式自动匹配源代码的抽象语法树。它收集了树木的重要信息,并将断言插入到程序的适当位置。可以使用程序分析技术检查这些断言。该实验是在朱丽叶试验套件和GitHub中的几个实际项目建立。实验结果表明,弱势断言有助于在26个实际项目中找到125个计划缺陷。这些弱点被手动确认以通过一些测试用例触发。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号