{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T11:38:49Z","timestamp":1791459529941,"version":"4.3.4"},"reference-count":49,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2008,4,1]],"date-time":"2008-04-01T00:00:00Z","timestamp":1207008000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2008,4]]},"abstract":"<jats:p>This article addresses the challenge of sound typestate verification, with acceptable precision, for real-world Java programs. We present a novel framework for verification of typestate properties, including several new techniques to precisely treat aliases without undue performance costs. In particular, we present a flow-sensitive, context-sensitive, integrated verifier that utilizes a parametric abstract domain combining typestate and aliasing information. To scale to real programs without compromising precision, we present a staged verification system in which faster verifiers run as early stages which reduce the workload for later, more precise, stages.<\/jats:p>\n          <jats:p>We have evaluated our framework on a number of real Java programs, checking correct API usage for various Java standard libraries. The results show that our approach scales to hundreds of thousands of lines of code, and verifies correctness for 93% of the potential points of failure.<\/jats:p>","DOI":"10.1145\/1348250.1348255","type":"journal-article","created":{"date-parts":[[2008,5,6]],"date-time":"2008-05-06T14:35:04Z","timestamp":1210084504000},"page":"1-34","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":136,"title":["Effective typestate verification in the presence of aliasing"],"prefix":"10.1145","volume":"17","author":[{"given":"Stephen J.","family":"Fink","sequence":"first","affiliation":[{"name":"IBM T. J. Watson Research Center"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Eran","family":"Yahav","sequence":"additional","affiliation":[{"name":"IBM T. J. Watson Research Center"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Nurit","family":"Dor","sequence":"additional","affiliation":[{"name":"IBM Haifa Research Lab"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"G.","family":"Ramalingam","sequence":"additional","affiliation":[{"name":"IBM T. J. Watson Research Center"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Emmanuel","family":"Geay","sequence":"additional","affiliation":[{"name":"IBM T. J. Watson Research Center"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2008,5,5]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/781131.781146"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1047659.1040314"},{"key":"e_1_2_1_4_1","volume-title":"Proceedings of the IEEE Symposium on Security and Privacy","author":"Ashcraft K.","unstructured":"Ashcraft , K. and Engler , D . 2002. Using programmer-written compiler extensions to catch security holes . In Proceedings of the IEEE Symposium on Security and Privacy . Oakland, CA. Ashcraft, K. and Engler, D. 2002. Using programmer-written compiler extensions to catch security holes. In Proceedings of the IEEE Symposium on Security and Privacy. Oakland, CA."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378846"},{"key":"e_1_2_1_6_1","first-page":"103","article-title":"Automatically validating temporal safety properties of interfaces. In SPIN Workshop","volume":"2057","author":"Ball T.","year":"2001","unstructured":"Ball , T. and Rajamani , S. K. 2001 . Automatically validating temporal safety properties of interfaces. In SPIN Workshop . Lecture Notes in Computer Science , vol. 2057. 103 -- 122 . Ball, T. and Rajamani, S. K. 2001. Automatically validating temporal safety properties of interfaces. In SPIN Workshop. Lecture Notes in Computer Science, vol. 2057. 103--122.","journal-title":"Lecture Notes in Computer Science"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/565816.503274"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/93548.93585"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/158511.158639"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/337180.337234"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/567752.567778"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/292540.292564"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/358438.349309"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/543552.512538"},{"key":"e_1_2_1_15_1","volume-title":"Ed. Lecture Notes in Computer Science","volume":"4609","author":"Degen M.","unstructured":"Degen , M. , Thiemann , P. , and Wehr , S . 2007. Tracking linear and affine resources with Java(X). In ECOOP Object-Oriented Programming. E. Ernst , Ed. Lecture Notes in Computer Science , vol. 4609 . Springer-Verlag, 550--574. Degen, M., Thiemann, P., and Wehr, S. 2007. Tracking linear and affine resources with Java(X). In ECOOP Object-Oriented Programming. E. Ernst, Ed. Lecture Notes in Computer Science, vol. 4609. Springer-Verlag, 550--574."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378811"},{"key":"e_1_2_1_17_1","volume-title":"Proceedings of the 18th European Conference on Object-Oriented Programming (ECOOP). Lecture Notes in Computer Science","volume":"3086","author":"DeLine R.","unstructured":"DeLine , R. and F\u00e4hndrich , M . 2004. Typestates for objects . In Proceedings of the 18th European Conference on Object-Oriented Programming (ECOOP). Lecture Notes in Computer Science , Vol. 3086 . DeLine, R. and F\u00e4hndrich, M. 2004. Typestates for objects. In Proceedings of the 18th European Conference on Object-Oriented Programming (ECOOP). Lecture Notes in Computer Science, Vol. 3086."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007512.1007515"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/193173.195295"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/773473.178264"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/543552.512532"},{"key":"e_1_2_1_22_1","volume-title":"Proceedings of the Static Analysis Symposium (SAS'03)","volume":"2694","author":"Field J.","unstructured":"Field , J. , Goyal , D. , Ramalingam , G. , and Yahav , E . 2003. Typestate verification: Abstraction techniques and complexity results . In Proceedings of the Static Analysis Symposium (SAS'03) . Lecture Notes in Computer Science , vol. 2694 . Springer, 439--462. Field, J., Goyal, D., Ramalingam, G., and Yahav, E. 2003. Typestate verification: Abstraction techniques and complexity results. In Proceedings of the Static Analysis Symposium (SAS'03). Lecture Notes in Computer Science, vol. 2694. Springer, 439--462."},{"key":"e_1_2_1_23_1","unstructured":"Fink S. Dolby J. and Colby L. 2004. Semi-automatic J2EE transaction configuration. Tech. rep. RC23326 IBM.  Fink S. Dolby J. and Colby L. 2004. Semi-automatic J2EE transaction configuration. Tech. rep. RC23326 IBM."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/512529.512558"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/512529.512531"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/506315.506316"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/176454.176507"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.5555\/1760267.1760284"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1040305.1040331"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/277652.277668"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/381694.378855"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/503272.503279"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/143103.143137"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.5555\/1765931.1765948"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1007\/11575467_11"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/1044834.1044835"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/302405.302663"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/191081.191130"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(00)00315-7"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/543552.512540"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/199448.199462"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/514188.514190"},{"key":"e_1_2_1_43_1","unstructured":"Sharir M. and Pneuli A. 1981. Two approaches to interprocedural data flow analysis. In Program Flow Analysis: Theory and Applications.  Sharir M. and Pneuli A. 1981. Two approaches to interprocedural data flow analysis. In Program Flow Analysis: Theory and Applications."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/1273463.1273487"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/237721.237727"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.1986.6312929"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/566172.566212"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/223428.207111"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/996841.996846"},{"key":"e_1_2_1_50_1","unstructured":"Yorsh G. Yahav E. and Chandra S. 2007. Symbolic summarization with applications to typestate verification. Tech. rep. Tel Aviv University (www.cs.tau.ac.il\/~gretay).  Yorsh G. Yahav E. and Chandra S. 2007. Symbolic summarization with applications to typestate verification. Tech. rep. Tel Aviv University (www.cs.tau.ac.il\/~gretay)."}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1348250.1348255","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1348250.1348255","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T14:58:30Z","timestamp":1750258710000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1348250.1348255"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,4]]},"references-count":49,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2008,4]]}},"alternative-id":["10.1145\/1348250.1348255"],"URL":"https:\/\/doi.org\/10.1145\/1348250.1348255","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2008,4]]},"assertion":[{"value":"2007-04-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2007-07-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2008-05-05","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}