PASDA:一种基于划分的语义差异分析方法,对未决案例进行尽力分类
PASDA: A Partition-based Semantic Differencing Approach with Best Effort Classification of Undecided Cases
AI总结:
PASDA提出一种基于划分的语义差异分析方法,通过差分符号执行和分类启发式对无法形式化证明的程序对进行尽力分类,在141个程序对基准上准确率比现有工具高3-7%。
摘要:
等价性检查用于验证两个程序在给定等价输入时是否产生等价输出。该领域的研究主要集中在提高等价性检查的准确性和运行时性能上。然而,对于无法被证明为等价或非等价的程序对,现有方法仅报告“未知”的分类结果,这无法提供关于程序非/等价性的任何信息。在本文中,我们介绍了PASDA,这是我们提出的基于划分的语义差异分析方法,对未决案例进行尽力分类。虽然PASDA旨在使用差分符号执行的一种变体来形式化证明所分析程序对的非/等价性,但其主要新颖之处在于处理无法找到形式化非等价性证明的案例。对于此类案例,PASDA基于一组分类启发式规则提供尽力而为的等价性分类。我们使用一个由141个非/等价程序对组成的现有基准对PASDA进行了评估。在10秒到3600秒的超时设置下,PASDA正确分类了其中61-74%的案例。因此,PASDA实现的等价性检查准确率比三个现有工具取得的最佳结果高出3-7%。此外,在不同超时设置下,PASDA的尽力分类在等价案例中正确率为70-75%,在非等价案例中正确率为55-85%。
英文摘要:
Equivalence checking is used to verify whether two programs produce equivalent outputs when given equivalent inputs. Research in this field mainly focused on improving equivalence checking accuracy and runtime performance. However, for program pairs that cannot be proven to be either equivalent or non-equivalent, existing approaches only report a classification result of "unknown", which provides no information regarding the programs' non-/equivalence. In this paper, we introduce PASDA, our partition-based semantic differencing approach with best effort classification of undecided cases. While PASDA aims to formally prove non-/equivalence of analyzed program pairs using a variant of differential symbolic execution, its main novelty lies in its handling of cases for which no formal non-/equivalence proof can be found. For such cases, PASDA provides a best effort equivalence classification based on a set of classification heuristics. We evaluated PASDA with an existing benchmark consisting of 141 non-/equivalent program pairs. PASDA correctly classified 61-74% of these cases at timeouts from 10 seconds to 3600 seconds. Thus, PASDA achieved equivalence checking accuracies that are 3-7% higher than the best results achieved by three existing tools. Furthermore, PASDA's best effort classifications were correct for 70-75% of equivalent and 55-85% of non-equivalent cases across the different timeouts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。