arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.00885cs.SE
收藏

在无真实数据的情况下检测调用图不一致

Detecting Call Graph Unsoundness without Ground Truth

Fangtian Zhong, Ollie Wold, Joseph Windmann

AI总结:

本文通过大规模实证研究揭示了四个Java静态分析框架中算法精度顺序的不一致性,指出配置与算法的交互作用及跨框架比较中的语义差距,挑战了静态分析的评估实践。

摘要:

Java静态分析框架通常在假设分析算法和配置单调组合并产生跨工具语义可比结果的条件下进行比较。本文表明这一假设根本错误。我们对四个广泛使用的Java静态分析框架(Soot、SootUp、WALA和Doop)内部和跨框架的语义一致性进行了大规模实证研究。使用精度偏序关系分析算法和配置,系统地识别了增加精度引入新调用图边或放大不一致性的违规情况。我们的结果揭示了三个关键发现:首先,由于现代语言特性如lambda、反射和原生建模,算法精度顺序在框架内经常破裂。其次,配置选择与分析算法之间存在强交互作用,产生协同失效,其影响超过单独算法或配置变化的效果。第三,跨框架比较暴露了不可调和的语义差距,表明不同框架操作的调用图真实数据概念不兼容。这些发现挑战了静态分析中普遍的评估实践,并强调在评估精度和正确性时需要联合考虑算法、配置和框架语义。

英文摘要:

Java static analysis frameworks are commonly compared under the assumption that analysis algorithms and configurations compose monotonically and yield semantically comparable results across tools. In this work, we show that this assumption is fundamentally flawed. We present a large-scale empirical study of semantic consistency within and across four widely used Java static analysis frameworks: Soot, SootUp, WALA, and Doop. Using precision partial orders over analysis algorithms and configurations, we systematically identify violations where increased precision introduces new call-graph edges or amplifies inconsistencies. Our results reveal three key findings. First, algorithmic precision orders frequently break within frameworks due to modern language features such as lambdas, reflection, and native modeling. Second, configuration choices strongly interact with analysis algorithms, producing synergistic failures that exceed the effects of algorithm or configuration changes alone. Third, cross-framework comparisons expose irreconcilable semantic gaps, demonstrating that different frameworks operate over incompatible notions of call-graph ground truth. These findings challenge prevailing evaluation practices in static analysis and highlight the need to reason jointly about algorithms, configurations, and framework semantics when assessing precision and soundness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑