Skip to main content

Model checking unbounded concurrent lists

Author(s): Sethi, D; Talupur, M; Malik, S

Download
To refer to this page use: http://arks.princeton.edu/ark:/88435/pr1tb0xv7k
Full metadata record
DC FieldValueLanguage
dc.contributor.authorSethi, D-
dc.contributor.authorTalupur, M-
dc.contributor.authorMalik, S-
dc.date.accessioned2024-01-20T17:54:59Z-
dc.date.available2024-01-20T17:54:59Z-
dc.date.issued2015-02-15en_US
dc.identifier.citationSethi, D, Talupur, M, Malik, S. (2016). Model checking unbounded concurrent lists. International Journal on Software Tools for Technology Transfer, 18 (375 - 391. doi:10.1007/s10009-015-0369-yen_US
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/pr1tb0xv7k-
dc.description.abstractWe present a model checking-based method for verifying list-based concurrent set data structures. Concurrent data structures are notorious for being hard to get right and thus, their verification has received significant attention from the verification community. These data structures are unbounded in two dimensions: the list size is unbounded and an unbounded number of threads access them. Thus, their model checking requires abstraction to a model bounded in both the dimensions. We first show how the unbounded number of threads can be model checked by reduction to a finite model, while assuming a bounded number of list nodes. In particular, we leverage the CMP (CoMPositional) method which abstracts the unbounded threads by keeping one thread as is (concrete) and abstracting all the other threads to a single environment thread. Next, the method proceeds as a series of iterations where in each iteration the abstraction is model checked and, if a spurious counterexample is observed, refined. This is accomplished by the user by inspecting the returned counterexamples. If the user determines the returned counterexample to be spurious, she adds constraints to the abstraction in the form of lemmas to refine it. Upon addition, these lemmas are also verified for correctness as part of the CMP method. Thus, since these lemmas are verified as well, we show how some of the lemmas required for refinement of this abstract model can be mined automatically using an assertion mining tool, Daikon. Next, we show how the CMP method approach can be extended to the list dimension as well, to fully verify the data structures in both the dimensions. While it is possible to show correctness of these data structures for an unbounded number of threads by keeping one concrete thread and abstracting others, this is not directly possible in the list dimension as the nodes pointed to by the threads change during list traversal. Our method addresses this challenge by constructing an abstraction for which the concrete nodes, i.e., the nodes pointed to by the threads, can change as the thread pointers move with program execution. Further, our method also allows for refinement of this abstraction to prove properties of interest. We show the soundness of our method and establish its utility by model checking challenging concurrent list-based data structure examples.en_US
dc.format.extent375 - 391en_US
dc.language.isoen_USen_US
dc.relation.ispartofInternational Journal on Software Tools for Technology Transferen_US
dc.rightsAuthor's manuscripten_US
dc.titleModel checking unbounded concurrent listsen_US
dc.typeJournal Articleen_US
dc.identifier.doidoi:10.1007/s10009-015-0369-y-
pu.type.symplectichttp://www.symplectic.co.uk/publications/atom-terms/1.0/journal-articleen_US

Files in This Item:
File Description SizeFormat 
document.pdf550.8 kBAdobe PDFView/Download


Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.