Effect Summaries for Thread-Modular Analysis
Lukáš Holík1, Roland Meyer 2, Tomáš Vojnar1, and Sebastian Wolff 2
1 Brno University of Technology 2 TU Braunschweig
E ff ect Summaries for Thread-Modular Analysis [ Dagstuhl, 9-Nov-17 - - PowerPoint PPT Presentation
E ff ect Summaries for Thread-Modular Analysis [ Dagstuhl, 9-Nov-17 ] Luk Holk 1 , Roland Meyer 2 , Tom Vojnar 1 , and Sebastian Wol ff 2 1 Brno University of Technology 2 TU Braunschweig Paper TechReport Goal Automated verification
Lukáš Holík1, Roland Meyer 2, Tomáš Vojnar1, and Sebastian Wolff 2
1 Brno University of Technology 2 TU Braunschweig
➡ linearizability
➡ arbitrarily many most general client threads
➡ memory can be freed and reallocated
➡ capturing the system as seen by a single thread ➡ abstracting away correlation among threads
➡ symbolic representation of modifications performed by the threads ➡ collected from sequential steps
➡ apply update patterns to the views from ➡ requires matching to check applicability of update pattern
➡ requires matching to check compatibility ➡ relates thread-local state
➡ generally applicable (for target domain)
➡ updates a shared value
➡ appears stateless
➡ stateless sequential program ➡ over-approximation of the effects of program
➡ potentially unsound ➡ a good heuristic (the programmers intent)
➡ corresponds to analyzing
➡ summary has no state which needs to be related
➡ effects from (a) are included in the effects from (b) ➡ in the summary disposed its local state
➡ target memory unreachable from shared variables ➡ cannot be mimicked by stateless summary
➡ breaking reachability from shared variables grants ownership ➡ stateless summary can free immediately after gaining ownership
➡ generally applicable (for target domain)