A Scalable Incomplete Test for Message Buffer Overflow in Promela Models

dc.contributor.authorLeue, Stefan
dc.contributor.authorMayr, Richarddeu
dc.contributor.authorWei, Wei
dc.date.accessioned2011-03-24T15:56:34Zdeu
dc.date.available2011-03-24T15:56:34Zdeu
dc.date.issued2004deu
dc.description.abstractIn Promela, communication buffers are defined with a fixed length, and buffer overflows can be handled in two different ways: block the send statement or lose the message. Both solutions change the semantics of the system, compared to one with unbounded channels. The question arises, if such buffer overflows can ever occur in a given system and what buffer lengths are sufficient to avoid them. We describe a scalable incomplete boundedness test for the communication buffers in Promela models, which is based on overapproximation and static analysis. We first reduce Promela models to systems of communicating finite state machines (CFSMs) and then apply further abstractions that leave us with a system of linear inequalities. Those represent the message sending and receiving effect that the control flow cycles of every process have on any message buffer. The test tries to establish the existence of a linear combination of the effect vectors so that at least one message can occur an unbounded number of times. If no such linear combination exists then the system is bounded. We discuss the complexity of this test and present experimental results using our implementation in the IBOC system. Scalability of the test is in part due to the fact that it is polynomial for the type of sparse control flowgraphs derived from Promela models. Also, the analysis is local, i.e., it avoids the combinatorial state space explosion due to concurrency of the models. We also present a method to derive upper bound estimates for the maximal occupancy of each individual message buffer. Previously, we have applied this approach to UML RT models, while in this paper we focus on the additional problems specific to Promela code: determining the potential message types of any channel, tracking potential contents of variables, channels passed as arguments to processes, channel assignments, channel arrays and parallel process creation.eng
dc.description.versionpublished
dc.format.mimetypeapplication/pdfdeu
dc.identifier.citationFirst. publ. in: Lecture notes in computer science, No. 2989 (2004) , pp. 216-233deu
dc.identifier.ppn282639543deu
dc.identifier.urihttp://kops.uni-konstanz.de/handle/123456789/5580
dc.language.isoengdeu
dc.legacy.dateIssued2008deu
dc.rightsAttribution-NonCommercial-NoDerivs 2.0 Generic
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/2.0/
dc.subject.ddc004deu
dc.titleA Scalable Incomplete Test for Message Buffer Overflow in Promela Modelseng
dc.typeINPROCEEDINGSdeu
dspace.entity.typePublication
kops.citation.bibtex
@inproceedings{Leue2004Scala-5580,
  year={2004},
  title={A Scalable Incomplete Test for Message Buffer Overflow in Promela Models},
  number={2989},
  isbn={978-3-540-21314-7},
  publisher={Springer},
  address={Berlin [u.a.]},
  series={Lecture notes in computer science},
  booktitle={Model checking software : 11th International SPIN Workshop, Barcelona, Spain, April 1 - 3, 2004},
  pages={216--233},
  editor={Graf, Susanne},
  author={Leue, Stefan and Mayr, Richard and Wei, Wei}
}
kops.citation.iso690LEUE, Stefan, Richard MAYR, Wei WEI, 2004. A Scalable Incomplete Test for Message Buffer Overflow in Promela Models. In: GRAF, Susanne, ed. and others. Model checking software : 11th International SPIN Workshop, Barcelona, Spain, April 1 - 3, 2004. Berlin [u.a.]: Springer, 2004, pp. 216-233. Lecture notes in computer science. 2989. ISBN 978-3-540-21314-7deu
kops.citation.iso690LEUE, Stefan, Richard MAYR, Wei WEI, 2004. A Scalable Incomplete Test for Message Buffer Overflow in Promela Models. In: GRAF, Susanne, ed. and others. Model checking software : 11th International SPIN Workshop, Barcelona, Spain, April 1 - 3, 2004. Berlin [u.a.]: Springer, 2004, pp. 216-233. Lecture notes in computer science. 2989. ISBN 978-3-540-21314-7eng
kops.citation.rdf
<rdf:RDF
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:bibo="http://purl.org/ontology/bibo/"
    xmlns:dspace="http://digital-repositories.org/ontologies/dspace/0.1.0#"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:void="http://rdfs.org/ns/void#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > 
  <rdf:Description rdf:about="https://kops.uni-konstanz.de/server/rdf/resource/123456789/5580">
    <dcterms:rights rdf:resource="http://creativecommons.org/licenses/by-nc-nd/2.0/"/>
    <dc:creator>Leue, Stefan</dc:creator>
    <foaf:homepage rdf:resource="http://localhost:8080/"/>
    <dc:contributor>Mayr, Richard</dc:contributor>
    <dc:format>application/pdf</dc:format>
    <dcterms:available rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2011-03-24T15:56:34Z</dcterms:available>
    <dcterms:issued>2004</dcterms:issued>
    <void:sparqlEndpoint rdf:resource="http://localhost/fuseki/dspace/sparql"/>
    <dcterms:abstract xml:lang="eng">In Promela, communication buffers are defined with a fixed length, and buffer overflows can be handled in two different ways: block the send statement or lose the message. Both solutions change the semantics of the system, compared to one with unbounded channels. The question arises, if such buffer overflows can ever occur in a given system and what buffer lengths are sufficient to avoid them. We describe a scalable incomplete boundedness test for the communication buffers in Promela models, which is based on overapproximation and static analysis. We first reduce Promela models to systems of communicating finite state machines (CFSMs) and then apply further abstractions that leave us with a system of linear inequalities. Those represent the message sending and receiving effect that the control flow cycles of every process have on any message buffer. The test tries to establish the existence of a linear combination of the effect vectors so that at least one message can occur an unbounded number of times. If no such linear combination exists then the system is bounded. We discuss the complexity of this test and present experimental results using our implementation in the IBOC system. Scalability of the test is in part due to the fact that it is polynomial for the type of sparse control flowgraphs derived from Promela models. Also, the analysis is local, i.e., it avoids the combinatorial state space explosion due to concurrency of the models. We also present a method to derive upper bound estimates for the maximal occupancy of each individual message buffer. Previously, we have applied this approach to UML RT models, while in this paper we focus on the additional problems specific to Promela code: determining the potential message types of any channel, tracking potential contents of variables, channels passed as arguments to processes, channel assignments, channel arrays and parallel process creation.</dcterms:abstract>
    <bibo:uri rdf:resource="http://kops.uni-konstanz.de/handle/123456789/5580"/>
    <dcterms:hasPart rdf:resource="https://kops.uni-konstanz.de/bitstream/123456789/5580/1/A_Scalable_Incomplete_Test_for_Message_Buffer_Overflow_in_Promela_Models.pdf"/>
    <dcterms:bibliographicCitation>First. publ. in: Lecture notes in computer science, No. 2989 (2004) , pp. 216-233</dcterms:bibliographicCitation>
    <dcterms:isPartOf rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/36"/>
    <dspace:isPartOfCollection rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/36"/>
    <dspace:hasBitstream rdf:resource="https://kops.uni-konstanz.de/bitstream/123456789/5580/1/A_Scalable_Incomplete_Test_for_Message_Buffer_Overflow_in_Promela_Models.pdf"/>
    <dc:creator>Mayr, Richard</dc:creator>
    <dc:creator>Wei, Wei</dc:creator>
    <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2011-03-24T15:56:34Z</dc:date>
    <dcterms:title>A Scalable Incomplete Test for Message Buffer Overflow in Promela Models</dcterms:title>
    <dc:contributor>Wei, Wei</dc:contributor>
    <dc:rights>Attribution-NonCommercial-NoDerivs 2.0 Generic</dc:rights>
    <dc:language>eng</dc:language>
    <dc:contributor>Leue, Stefan</dc:contributor>
  </rdf:Description>
</rdf:RDF>
kops.description.openAccessopenaccessgreen
kops.flag.knbibliographytrue
kops.identifier.nbnurn:nbn:de:bsz:352-opus-57765deu
kops.opus.id5776deu
kops.sourcefieldGRAF, Susanne, ed. and others. <i>Model checking software : 11th International SPIN Workshop, Barcelona, Spain, April 1 - 3, 2004</i>. Berlin [u.a.]: Springer, 2004, pp. 216-233. Lecture notes in computer science. 2989. ISBN 978-3-540-21314-7deu
kops.sourcefield.plainGRAF, Susanne, ed. and others. Model checking software : 11th International SPIN Workshop, Barcelona, Spain, April 1 - 3, 2004. Berlin [u.a.]: Springer, 2004, pp. 216-233. Lecture notes in computer science. 2989. ISBN 978-3-540-21314-7deu
kops.sourcefield.plainGRAF, Susanne, ed. and others. Model checking software : 11th International SPIN Workshop, Barcelona, Spain, April 1 - 3, 2004. Berlin [u.a.]: Springer, 2004, pp. 216-233. Lecture notes in computer science. 2989. ISBN 978-3-540-21314-7eng
relation.isAuthorOfPublicationa0cf1380-ebf9-403b-a02e-6e97bae25ef6
relation.isAuthorOfPublication86013ecb-c2c8-4d8c-9f24-da6166bb3f33
relation.isAuthorOfPublication.latestForDiscoverya0cf1380-ebf9-403b-a02e-6e97bae25ef6
source.bibliographicInfo.fromPage216
source.bibliographicInfo.seriesNumber2989
source.bibliographicInfo.toPage233
source.contributor.editorGraf, Susanne
source.flag.etalEditortrue
source.identifier.isbn978-3-540-21314-7
source.publisherSpringer
source.publisher.locationBerlin [u.a.]
source.relation.ispartofseriesLecture notes in computer science
source.titleModel checking software : 11th International SPIN Workshop, Barcelona, Spain, April 1 - 3, 2004

Dateien

Originalbündel

Gerade angezeigt 1 - 1 von 1
Vorschaubild nicht verfügbar
Name:
A_Scalable_Incomplete_Test_for_Message_Buffer_Overflow_in_Promela_Models.pdf
Größe:
219.23 KB
Format:
Adobe Portable Document Format