首页 | 本学科首页   官方微博 | 高级检索  
     

C程序隐式规则自动提取与反例检测
引用本文:禹振,苏小红,王甜甜,马培军.C程序隐式规则自动提取与反例检测[J].电子学报,2013,41(2):248-254.
作者姓名:禹振  苏小红  王甜甜  马培军
作者单位:哈尔滨工业大学计算机科学与技术系,黑龙江哈尔滨 150001
基金项目:国家自然科学基金,高等学校博士学科点专项科研基金
摘    要:提出一种通用且高效的隐式规则自动提取与反例检测方法,使用频繁闭合项集挖掘技术挖掘包含多种程序元素的编程模式,然后由编程模式产生编程规则;引入正序规则的概念,以避免从同一个编程模式中产生多个冗余规则.在此基础上,提出一种高效的反例检测算法检测违反规则的程序片段.实验结果表明,该方法能够自动提取程序中存在的隐式编程规则,并快速有效地检测违反规则的反例.

关 键 词:频繁闭合项集挖掘  程序规则提取  反例检测  软件缺陷检测  静态分析  
收稿时间:2011-05-18

Automatically Extracting Implicit Programming Rules and Detecting Violations from C Programs
YU Zhen , SU Xiao-hong , WANG Tian-tian , MA Pei-jun.Automatically Extracting Implicit Programming Rules and Detecting Violations from C Programs[J].Acta Electronica Sinica,2013,41(2):248-254.
Authors:YU Zhen  SU Xiao-hong  WANG Tian-tian  MA Pei-jun
Affiliation:School of Computer Science and Technology, Harbin Institute of Technology, Harbin, Heilongjiang 150001, China
Abstract:A general and efficient method is proposed to automatically extract the rules and detect violations to the rules extracted.Closed frequent itemset mining is applied to mine programming patterns.Then these patterns are used to generate programming rules.The concept of Positive Order Rule is introduced to avoid generating redundant rules from the same programming pattern.Based on these efforts,we also propose an efficient violations detection algorithm to detect program segments that are not consistent with the extracted rules.The experiment results on large software source code indicate that this method can automatically extract lots of implicit programming rules and also can efficiently detect the code segments that violate the extracted rules.
Keywords:frequent closed itemset mining  programming rules extracting  violations detecting  software defects detecting  static analysis
本文献已被 万方数据 等数据库收录!
点击此处可从《电子学报》浏览原始摘要信息
点击此处可从《电子学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号