Limits and Difficulties in the Design of Under-Approximation Abstract Domains

IF 17.7 1区 化学 Q1 CHEMISTRY, MULTIDISCIPLINARY Accounts of Chemical Research Pub Date : 2024-06-09 DOI:10.1145/3666014
Flavio Ascari, R. Bruni, R. Gori
{"title":"Limits and Difficulties in the Design of Under-Approximation Abstract Domains","authors":"Flavio Ascari, R. Bruni, R. Gori","doi":"10.1145/3666014","DOIUrl":null,"url":null,"abstract":"The main goal of most static analyses is to prove the absence of bugs: if the analysis reports no alarms then the program will not exhibit any unwanted behaviours. For this reason, they are designed to over-approximate program behaviours and, consequently, they can report some false alarms. O’Hearn’s recent work on incorrectness has renewed the interest in the use of under-approximations for bug finding, because they only report true alarms. In principle, Abstract Interpretation techniques can handle under-approximations as well as over-approximations, but, in practice, few attempts were developed for the former, notwithstanding the much wider literature on the latter. In this paper we investigate the possibility of exploiting under-approximation abstract domains for bug-finding analyses. First we restrict to consider concrete powerset domains and highlight some intuitive asymmetries between over- and under-approximations. Then, we prove that the effectiveness of abstract domains defined by Under-approximation Galois connection is limited, because the analysis is likely to return trivial results whenever common transfer functions are encoded in the program. To this aim, we introduce the original concepts of non-emptying functions and highly surjective function family and we prove the nonexistence of abstract domains able to under-approximate such functions in a non-trivial way. We show many examples of finite and infinite numerical domains, as well as other generic domains. In all such cases, we prove the impossibility of performing nontrivial analyses via under-approximating Galois connections.","PeriodicalId":1,"journal":{"name":"Accounts of Chemical Research","volume":" 21","pages":""},"PeriodicalIF":17.7000,"publicationDate":"2024-06-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Accounts of Chemical Research","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1145/3666014","RegionNum":1,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CHEMISTRY, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 6

Abstract

The main goal of most static analyses is to prove the absence of bugs: if the analysis reports no alarms then the program will not exhibit any unwanted behaviours. For this reason, they are designed to over-approximate program behaviours and, consequently, they can report some false alarms. O’Hearn’s recent work on incorrectness has renewed the interest in the use of under-approximations for bug finding, because they only report true alarms. In principle, Abstract Interpretation techniques can handle under-approximations as well as over-approximations, but, in practice, few attempts were developed for the former, notwithstanding the much wider literature on the latter. In this paper we investigate the possibility of exploiting under-approximation abstract domains for bug-finding analyses. First we restrict to consider concrete powerset domains and highlight some intuitive asymmetries between over- and under-approximations. Then, we prove that the effectiveness of abstract domains defined by Under-approximation Galois connection is limited, because the analysis is likely to return trivial results whenever common transfer functions are encoded in the program. To this aim, we introduce the original concepts of non-emptying functions and highly surjective function family and we prove the nonexistence of abstract domains able to under-approximate such functions in a non-trivial way. We show many examples of finite and infinite numerical domains, as well as other generic domains. In all such cases, we prove the impossibility of performing nontrivial analyses via under-approximating Galois connections.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
设计欠逼近抽象域的限制与困难
大多数静态分析的主要目标是证明程序不存在错误:如果分析报告中没有报警,那么程序就不会出现任何不需要的行为。因此,静态分析被设计为过度逼近程序行为,从而可能报告一些错误警报。O'Hearn 最近关于不正确性的研究再次激发了人们对使用欠逼近方法查找错误的兴趣,因为欠逼近方法只报告真实的警报。原则上,抽象解释技术既能处理欠逼近,也能处理过逼近,但在实践中,针对前者的尝试却很少,尽管关于后者的文献要多得多。在本文中,我们研究了利用欠逼近抽象域进行错误查找分析的可能性。首先,我们限制考虑具体的幂集域,并强调了过逼近和欠逼近之间的一些直观不对称性。然后,我们证明由欠近似伽罗瓦连接定义的抽象域的有效性是有限的,因为只要程序中编码了常见的转移函数,分析就可能返回琐碎的结果。为此,我们引入了非空函数和高射函数族的原始概念,并证明了能够以非琐碎方式欠近似这类函数的抽象域不存在。我们展示了许多有限和无限数值域以及其他一般域的例子。在所有这些情况下,我们都证明了通过欠近似伽罗瓦连接进行非rivial分析的不可能性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Accounts of Chemical Research
Accounts of Chemical Research 化学-化学综合
CiteScore
31.40
自引率
1.10%
发文量
312
审稿时长
2 months
期刊介绍: Accounts of Chemical Research presents short, concise and critical articles offering easy-to-read overviews of basic research and applications in all areas of chemistry and biochemistry. These short reviews focus on research from the author’s own laboratory and are designed to teach the reader about a research project. In addition, Accounts of Chemical Research publishes commentaries that give an informed opinion on a current research problem. Special Issues online are devoted to a single topic of unusual activity and significance. Accounts of Chemical Research replaces the traditional article abstract with an article "Conspectus." These entries synopsize the research affording the reader a closer look at the content and significance of an article. Through this provision of a more detailed description of the article contents, the Conspectus enhances the article's discoverability by search engines and the exposure for the research.
期刊最新文献
Tetrapyrrole Complexes with Unusual Geometries: a Main Group Element Perspective Bioinspired Nanofluidic Temperate Synthesis Diiron(I) Bis(cyclopentadienyl) Complexes with Bridging Iminium Ligands: From Foundational Organometallic Chemistry to Unique Reactivity and Biological Potential. Catalysis over Isolated and Nested Lewis Acid Centers and Noble Metal Centers Anchored by Nested Lewis Acid Centers in Zeolites Structure and Dynamics of Membrane Proteins in Native Cellular Membranes Revealed by In Situ Solid-State NMR.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1