arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.13860cs.SE
收藏

根据自定义使用场景自动调整静态分析

Automatically Tailoring Static Analysis to Custom Usage Scenarios

Muhammad Numair Mansur, Benjamin Mariano, Maria Christakis, Jorge A. Navas, Valentin Wüstholz

摘要:

近年来,在静态分析仪的开发和工业应用方面取得了重大进展。这样的分析仪通常提供大量(如果不是巨大的话)可配置选项来控制分析的精度和性能。在软件开发生存周期中集成静态分析器的一个主要障碍是将它们的选项调优到自定义使用场景,例如特定的代码库或某些资源约束。在本文中,我们提出了一种技术,自动定制的静态分析器,特别是一个抽象的解释器,分析和任何给定的资源约束下的代码。我们在一个名为TAILOR的框架中实现了这种技术,我们用它来对现实世界的基准进行广泛的评估。我们的实验表明,由TAILOR生成的配置远远优于默认的分析选项,根据分析的代码而显着变化,并且大多数仍然适合于几个后续的代码版本。

英文摘要:

In recent years, there has been significant progress in the development and industrial adoption of static analyzers. Such analyzers typically provide a large, if not huge, number of configurable options controlling the precision and performance of the analysis. A major hurdle in integrating static analyzers in the software-development life cycle is tuning their options to custom usage scenarios, such as a particular code base or certain resource constraints. In this paper, we propose a technique that automatically tailors a static analyzer, specifically an abstract interpreter, to the code under analysis and any given resource constraints. We implement this technique in a framework called TAILOR, which we use to perform an extensive evaluation on real-world benchmarks. Our experiments show that the configurations generated by TAILOR are vastly better than the default analysis options, vary significantly depending on the code under analysis, and most remain tailored to several subsequent code versions.

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

↑