paperbot · PL 论文追踪

全部论文 待读 收藏

P2 JCWIT: A Correctness-Witness Validator for Java Programs Based on Bounded Model Checking

JCWIT:基于有界模型检测的Java程序正确性见证验证器
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 3/10 · 该论文属于形式验证与程序分析领域,涉及正确性见证验证和Java有界模型检测,但并未涉及用户当前核心方向中的LLM/Agent、浮点程序分析或贝叶斯程序分析,匹配度有限。引用 2 inbox
Zaiyu Cheng, Tong Wu, Peter Schrammel, Norbert Tihanyi, Eddie B. de Lima Filho, Lucas C. Cordeiro
crossref: 2026-09-12

AI 速览

一句话:提出首个Java正确性见证验证器JCWIT,借助JBMC检验验证器输出见证的可复现性。

软件验证工具的结果需要独立验证,但已有Java见证验证器多针对违例见证,缺乏正确性见证验证器。本文提出JCWIT,这是首个面向Java程序的正确性见证验证器。JCWIT接收原程序、规约和正确性见证,将见证执行状态中的不变式以断言形式插桩到原程序中,再调用Java有界模型检测器JBMC验证变换后程序,从而检查正确性见证结果是否可复现。作者在SV-COMP ReachSafety基准上评估JCWIT,结果表明其能正确验证Java验证器生成的正确性见证。

问题
Java程序验证工具已能生成正确性见证,但缺乏专用验证器来独立检查这些见证是否真正可复现,现有工具主要验证违例见证。
方法
JCWIT将正确性见证中执行状态的不变式作为断言插桩到原程序,并使用Java有界模型检测器JBMC对变换后的程序进行验证。
评估
在SV-COMP ReachSafety基准上评估,显示JCWIT能够正确验证Java验证器生成的正确性见证。
原文摘要(Abstract)

Witness validation is a formal verification method to independently verify software verification tool results, with two main categories: violation and correctness witness validators. Validators for violation witnesses in Java include Wit4Java and GWIT, but no dedicated correctness witness validators exist. To address this gap, this paper presents the Java Correctness-Witness Validator (JCWIT), the first tool to validate correctness witnesses in Java programs. JCWIT accepts an original program, a specification, and a correctness witness as inputs. Then, it uses invariants of each witness’s execution state as conditions to be incorporated into the original program in the form of assertions, thus instrumenting it. Next, JCWIT employs an established tool, Java Bounded Model Checker (JBMC), to verify the transformed program, hence examining the reproducibility of correct witness results. We evaluated JCWIT in the SV-COMP ReachSafety benchmark, and the results show that JCWIT can correctly validate the correctness witnesses generated by Java verifiers.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot8533,
  title = {JCWIT: A Correctness-Witness Validator for Java Programs Based on Bounded Model Checking},
  author = {Zaiyu Cheng and Tong Wu and Peter Schrammel and Norbert Tihanyi and Eddie B. de Lima Filho and Lucas C. Cordeiro},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3685303}
}