Effect Summaries for Thread-Modular Analysis
Luk\'a\v{s} Hol\'ik, Roland Meyer, Tom\'a\v{s} Vojnar, and Sebastian, Wolff

TL;DR
This paper introduces a heuristic-based approach for efficient thread-modular verification of lock-free data structures, significantly improving speed while maintaining soundness through automatic checking.
Contribution
It presents a novel guess-and-check method that uses heuristics to generate and verify effect summaries automatically, enhancing verification efficiency.
Findings
Up to 100x faster verification compared to existing methods
Automatic checking ensures soundness despite heuristic use
Effective in verifying lock-free data structures
Abstract
We propose a novel guess-and-check principle to increase the efficiency of thread-modular verification of lock-free data structures. We build on a heuristic that guesses candidates for stateless effect summaries of programs by searching the code for instances of a copy-and-check programming idiom common in lock-free data structures. These candidate summaries are used to compute the interference among threads in linear time. Since a candidate summary need not be a sound effect summary, we show how to fully automatically check whether the precision of candidate summaries is sufficient. We can thus perform sound verification despite relying on an unsound heuristic. We have implemented our approach and found it up to two orders of magnitude faster than existing ones.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Parallel Computing and Optimization Techniques · Real-Time Systems Scheduling
