Incorrectness Separation Logic with Arrays and Pointer Arithmetic

๐Ÿ“… 2025-03-02
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
Existing Incorrect Separation Logic (ISL) cannot handle variable-length array predicates or pointer arithmetic, limiting its applicability to heap-manipulating programs with complex memory operations. Method: We extend ISL within the separation logic framework by integrating a heap model semantics, weakest-postcondition construction, and first-order logical entailment reasoning. We formally define the extended ISL and rigorously prove its relative completenessโ€”i.e., all semantically valid Hoare triples are derivable within the system. Contributions/Results: (1) We present the first ISL variant supporting variable-length array predicates and pointer arithmetic; (2) we establish its theoretical soundness and relative completeness, thereby providing a reliable foundation for automated heap error detection; and (3) we deliver a verification logic that balances expressiveness and provability for programs involving intricate heap manipulations, including dynamic arrays and pointer arithmetic.

Technology Category

Application Category

๐Ÿ“ Abstract
Incorrectness Separation Logic (ISL) is a proof system designed to automate verification and detect bugs in programs manipulating heap memories. In this study, we extend ISL to support variable-length array predicates and pointer arithmetic. Additionally, we prove the relative completeness of this extended ISL by constructing the weakest postconditions. Relative completeness means that all valid ISL triples are provable, assuming an oracle capable of checking entailment between formulas; this property ensures the reliability of the proof system.
Problem

Research questions and friction points this paper is trying to address.

Extend ISL to support variable-length arrays and pointer arithmetic.
Prove relative completeness of extended ISL using weakest postconditions.
Ensure reliability of ISL for bug detection in heap memory programs.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Extends ISL for array predicates and pointer arithmetic
Proves relative completeness using weakest postconditions
Automates verification and bug detection in heap memory
๐Ÿ”Ž Similar Papers
No similar papers found.