期刊文献+

进化算法与符号执行结合的程序复杂度分析方法

Program Complexity Analysis Method Combining Evolutionary Algorithm with Symbolic Execution
下载PDF
导出
摘要 程序的最坏执行路径是计算程序复杂度的一项重要指标,有助于发现系统可能存在的复杂性漏洞。近年来将符号执行应用于程序复杂度分析的研究取得了不小的进展,但现有方法存在通用性较差、分析时间较长的问题。文中提出一种面向最坏路径探测的进化算法——EvoWca,其核心思想是利用程序在较小输入规模下的已知最坏路径特征指导较大输入规模下初始路径集合的构建,然后模拟进化算法,对路径进行组合、突变和选择迭代,使得在搜索范围内探测到的最坏路径逼近于最坏时间复杂度对应的路径。基于该算法实现了一个用于程序复杂度分析的原型工具EvoWca2j,使用该工具和已有技术对一组Java程序进行最坏路径探索和执行效率评估,实验结果表明,相比现有方法,EvoWca2j的通用性和探索效率都有明显提高。 The worst case execution path is an important indicator of program complexity,which helps to discover possible complexity vulnerabilities in the system.In recent years,the application of symbolic execution in program complexity analysis has made great progress,however,the existing methods have the problems of poor generality and long analysis time.EvoWca,an evolutionary algorithm for worst-case path detection,is proposed in this paper.Its core idea is to use known worst-case path characteristics of programs at smaller input sizes to guide the construction of initial path sets at larger input sizes.Evolutionary algorithm is then simulated to combine,mutate,and select routes iteratively,and the worst path detected within the search range approximates the path corresponding to the worst time complexity.Based on this algorithm,a prototype tool EvoWca2 j for program complexity analysis is implemented.The tool and existing technologies are used to explore the worst path and evaluate the execution efficiency of a group of Java programs.The experimental results show that,compared with the existing methods,EvoWca2 j’sgenerality and exploration efficiency are significantly improved.
作者 周晟伊 曾红卫 ZHOU Sheng-yi;ZENG Hong-wei(School of Computer Engineering and Science,Shanghai University,Shanghai 200444,China;Shanghai Key Laboratory of Computer Software Evaluating and Testing,Shanghai 201112,China)
出处 《计算机科学》 CSCD 北大核心 2021年第12期107-116,共10页 Computer Science
基金 国家重点研发计划(2020YFB1006003)。
关键词 复杂度分析 符号执行 进化算法 路径探测 最坏执行路径 Complexity analysis Symbolic execution Evolutionary algorithm Path detection Worst case execution path
  • 相关文献

参考文献1

二级参考文献2

共引文献40

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部