Extending typestate analysis to multiple interacting objects

dc.contributor.authorNaeem, Nomair A.
dc.contributor.authorLhotak, Ondrej
dc.date.accessioned2026-10-06T20:14:22Z
dc.date.issued2008-03-25
dc.description.abstractThis paper extends static typestate analysis to temporal specifications of groups of interacting objects, which are expressed using tracematches. Unlike typestate, a tracematch state may change due to operations on any of a set of objects bound by the tracematch. The paper proposes a lattice-based operational semantics equivalent to the original tracematch semantics but better suited to statis analysis. The paper defines a statis analysis that computes precise local points-to sets and tracks the flow of individual objects, thereby enabling strong state updates of the tracematch state. The analysis has been proved sound with respect to the semantics. A context-sensitive version of the analysis has been implemented as instances of the IFDS and IDE algorithms. The analysis was evaluated on tracematches used in earlier work and found to be very precise. Remaining imprecisions could be eliminated with more precise modeling of references from the heap and of exceptional control flow.
dc.identifier.urihttps://hdl.handle.net/10012/24502
dc.language.isoen
dc.publisherUniveristy of Waterloo
dc.relation.ispartofseriesComputer Science Technical Reports; CS-2008-04
dc.titleExtending typestate analysis to multiple interacting objects
dc.typeTechnical Report
uws.contributor.affiliation1Faculty of Mathematics
uws.contributor.affiliation2David R. Cheriton School of Computer Science
uws.peerReviewStatusUnreviewed
uws.scholarLevelFaculty
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
CS-2008-04.pdf
Size:
374.05 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
4.47 KB
Format:
Item-specific license agreed upon to submission
Description: