arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.05197cs.PLcs.LO
收藏

基于多元断言的抽象口译指导

Multivariant Assertion-based Guidance in Abstract Interpretation

Isabel Garcia-Contreras, Jose F. Morales, Manuel V. Hermenegildo

摘要:

在程序分析中,近似是一种必要的恶,因为它们确保了基本的属性,例如分析的可靠性和终止性,但它们也意味着不总是产生有用的结果。已经研究了自动技术以防止精度损失,通常以较大的资源消耗为代价。在这两种情况下(即,当分析产生不准确的结果时,以及当资源消耗太高时),有必要为用户提供某种手段来提供信息以指导分析,从而提高精度和/或性能。我们提出了一个抽象的解释框架内支持一组丰富的断言,可以处理多变量/上下文敏感性,并可以处理不同的运行时语义的断言,不能在编译时放电的技术。我们将展示如何将所提出的方法应用于提高精度和加速分析。我们还提供了一些正式的结果,这样的断言上的分析结果的影响。

英文摘要:

Approximations during program analysis are a necessary evil, as they ensure essential properties, such as soundness and termination of the analysis, but they also imply not always producing useful results. Automatic techniques have been studied to prevent precision loss, typically at the expense of larger resource consumption. In both cases (i.e., when analysis produces inaccurate results and when resource consumption is too high), it is necessary to have some means for users to provide information to guide analysis and thus improve precision and/or performance. We present techniques for supporting within an abstract interpretation framework a rich set of assertions that can deal with multivariance/context-sensitivity, and can handle different run-time semantics for those assertions that cannot be discharged at compile time. We show how the proposed approach can be applied to both improving precision and accelerating analysis. We also provide some formal results on the effects of such assertions on the analysis results.

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

↑