jStar-eclipse: an IDE for automated verification of Java programs

Daiva Naudziuniene, M. Botincan, Dino Distefano, Mike Dodds, Radu Grigore, Matthew J. Parkinson
{"title":"jStar-eclipse: an IDE for automated verification of Java programs","authors":"Daiva Naudziuniene, M. Botincan, Dino Distefano, Mike Dodds, Radu Grigore, Matthew J. Parkinson","doi":"10.1145/2025113.2025182","DOIUrl":null,"url":null,"abstract":"jStar is a tool for automatically verifying Java programs. It uses separation logic to support abstract reasoning about object specifications. jStar can verify a number of challenging design patterns, including Subject/Observer, Visitor, Factory and Pooling. However, to use jStar one has to deal with a family of command-line tools that expect specifications in separate files and diagnose the errors by inspecting the text output from these tools.\n In this paper we present a plug-in, called jStar-eclipse, allowing programmers to use jStar from within Eclipse IDE. Our plug-in allows writing method contracts in Java source files in form of Java annotations. It automatically translates Java annotations into jStar specifications and propagates errors reported by jStar back to Eclipse, pinpointing the errors to the locations in source files. This way the plug-in ensures an overall better user experience when working with jStar. Our end goal is to make automated verification based on separation logic accessible to a broader audience.","PeriodicalId":184518,"journal":{"name":"ESEC/FSE '11","volume":"34 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ESEC/FSE '11","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2025113.2025182","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

jStar is a tool for automatically verifying Java programs. It uses separation logic to support abstract reasoning about object specifications. jStar can verify a number of challenging design patterns, including Subject/Observer, Visitor, Factory and Pooling. However, to use jStar one has to deal with a family of command-line tools that expect specifications in separate files and diagnose the errors by inspecting the text output from these tools. In this paper we present a plug-in, called jStar-eclipse, allowing programmers to use jStar from within Eclipse IDE. Our plug-in allows writing method contracts in Java source files in form of Java annotations. It automatically translates Java annotations into jStar specifications and propagates errors reported by jStar back to Eclipse, pinpointing the errors to the locations in source files. This way the plug-in ensures an overall better user experience when working with jStar. Our end goal is to make automated verification based on separation logic accessible to a broader audience.
jStar-eclipse:用于自动验证Java程序的IDE
jStar是一个自动校验Java程序的工具。它使用分离逻辑来支持对象规范的抽象推理。jStar可以验证许多具有挑战性的设计模式,包括Subject/Observer、Visitor、Factory和Pooling。然而,要使用jStar,必须处理一系列命令行工具,这些工具期望在单独的文件中看到规范,并通过检查这些工具的文本输出来诊断错误。在本文中,我们提供了一个名为jStar- Eclipse的插件,它允许程序员在Eclipse IDE中使用jStar。我们的插件允许在Java源文件中以Java注释的形式编写方法契约。它会自动将Java注释转换为jStar规范,并将jStar报告的错误传播回Eclipse,将错误精确定位到源文件中的位置。通过这种方式,插件可以确保在使用jStar时获得更好的用户体验。我们的最终目标是为更广泛的受众提供基于分离逻辑的自动验证。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信