{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,16]],"date-time":"2026-11-16T05:57:11Z","timestamp":1794808631474,"version":"4.9.1"},"publisher-location":"Cham","reference-count":40,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783031906428","type":"print"},{"value":"9783031906435","type":"electronic"}],"license":[{"start":{"date-parts":[[2025,1,1]],"date-time":"2025-01-01T00:00:00Z","timestamp":1735689600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2025,5,1]],"date-time":"2025-05-01T00:00:00Z","timestamp":1746057600000},"content-version":"vor","delay-in-days":120,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2025]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    Incorrectness logic (IL) based on under-approximation is effective at finding real program bugs. The prior work utilises bi-abductive specification inference mechanism to infer IL specifications for analysing large-scale C projects. However, this approach does not work well with object-oriented (OO) programs because it does not account for\n                    <jats:italic>class inheritance<\/jats:italic>\n                    and\n                    <jats:italic>method overriding<\/jats:italic>\n                    . In our work, we present an IL specification inference system that tackles these issues. At its core, we encode type information in our bi-abductive reasoning and propagate\n                    <jats:italic>type constraints<\/jats:italic>\n                    throughout the analysis. The direct benefit is that we can efficiently identify bugs caused by improper usage of the casting operator, which cannot be handled by the existing specification inference. Meanwhile, our system can reduce false positives while finding more true bugs because of not losing OO-type information. Furthermore, we model dynamic dispatching calls by inferring\n                    <jats:italic>dynamic specifications<\/jats:italic>\n                    , where the possible types of the calling object at runtime are bounded by the\n                    <jats:italic>type constraints<\/jats:italic>\n                    . We prototype our system in ILoop and evaluate it using real-world projects. Experimental results show that it finds 400% more class-cast-exceptions compared with Error Prone and improves the precision of finding null-pointer-exceptions by 27.0% compared with Pulse.\n                  <\/jats:p>","DOI":"10.1007\/978-3-031-90643-5_2","type":"book-chapter","created":{"date-parts":[[2025,4,30]],"date-time":"2025-04-30T02:08:10Z","timestamp":1745978890000},"page":"20-39","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Inferring Incorrectness Specifications for Object-Oriented\u00a0Programs"],"prefix":"10.1007","author":[{"given":"Wenhua","family":"Li","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Quang Loc","family":"Le","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yahui","family":"Song","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wei-Ngan","family":"Chin","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2025,5,1]]},"reference":[{"key":"2_CR1","unstructured":"The apache software foundation. https:\/\/github.com\/apache. Accessed: 2024-1-13."},{"key":"2_CR2","unstructured":"Error prone: a static analysis tool for java that catches common programming mistakes. https:\/\/github.com\/google\/error-prone. Accessed: 2024-05-16."},{"key":"2_CR3","unstructured":"Error prone patterns: a static analysis tool for java that catches common programming mistakes. https:\/\/errorprone.info\/bugpatterns. Accessed: 2024-05-16."},{"key":"2_CR4","unstructured":"A false positive. https:\/\/github.com\/apache\/pdfbox\/blob\/trunk\/debugger\/src\/main\/java\/org\/apache\/pdfbox\/debugger\/ui\/ErrorDialog.java. Accessed: 2024-02-16."},{"key":"2_CR5","unstructured":"jackson-databind. https:\/\/github.com\/FasterXML\/jackson-databind\/blob\/4a401237adfe3fd4e417504176171f76464aae96\/src\/main\/java\/com\/fasterxml\/jackson\/databind\/deser\/BeanDeserializerFactory.java. Accessed: 2024-10-13."},{"key":"2_CR6","unstructured":"An open source java tool for working with pdf documents: Pdfbox. https:\/\/github.com\/apache\/pdfbox\/commit\/eaf3b9862e80f1065f59acce150b38dd66a007c7. Accessed: 2024-02-16."},{"key":"2_CR7","unstructured":"Hdrhistogram - (commit id: 030aac1). https:\/\/github.com\/HdrHistogram\/HdrHistogram\/commit\/030aac1ea20b8c09e7c522a4594388534164d643, 12 2023. Accessed: 2023-12-20."},{"key":"2_CR8","unstructured":"ILoop source code. https:\/\/github.com\/liwenhua1\/infer, 2024."},{"key":"2_CR9","doi-asserted-by":"crossref","unstructured":"Michael Barnett, Robert DeLine, Manuel F\u00e4hndrich, K\u00a0Rustan\u00a0M Leino, and Wolfram Schulte. Verification of object-oriented programs with invariants. J. Object Technol., 3(6):27\u201356, 2004.","DOI":"10.5381\/jot.2004.3.6.a2"},{"key":"2_CR10","doi-asserted-by":"crossref","unstructured":"Martin Bravenboer and Yannis Smaragdakis. Strictly declarative specification of sophisticated points-to analyses. In Shail Arora and Gary\u00a0T. Leavens, editors, Proceedings of the 24th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2009, October 25-29, 2009, Orlando, Florida, USA, pages 243\u2013262. ACM, 2009.","DOI":"10.1145\/1640089.1640108"},{"key":"2_CR11","doi-asserted-by":"crossref","unstructured":"Roberto Bruni, Roberto Giacobazzi, Roberta Gori, and Francesco Ranzato. A correctness and incorrectness program logic. J. ACM, 70(2), mar 2023.","DOI":"10.1145\/3582267"},{"key":"2_CR12","doi-asserted-by":"crossref","unstructured":"Cristiano Calcagno, Dino Distefano, Peter O\u2019Hearn, and Hongseok Yang. Compositional shape analysis by means of bi-abduction. In Proceedings of the 36th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages, pages 289\u2013300, 2009.","DOI":"10.1145\/1480881.1480917"},{"key":"2_CR13","doi-asserted-by":"crossref","unstructured":"Wei-Ngan Chin, Cristina David, Huu\u00a0Hai Nguyen, and Shengchao Qin. Enhancing modular oo verification with separation logic. In Proceedings of the 35th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL \u201908, pages 87\u201399, New York, NY, USA, 2008. Association for Computing Machinery.","DOI":"10.1145\/1328438.1328452"},{"key":"2_CR14","doi-asserted-by":"crossref","unstructured":"Roberta Coelho, Lucas Almeida, Georgios Gousios, and Arie Van\u00a0Deursen. Unveiling exception handling bug hazards in android based on github and google code issues. In 2015 IEEE\/ACM 12th Working Conference on Mining Software Repositories, pages 134\u2013145. IEEE, 2015.","DOI":"10.1109\/MSR.2015.20"},{"key":"2_CR15","doi-asserted-by":"crossref","unstructured":"Yuan Feng and Sanjiang Li. Abstract interpretation, hoare logic, and incorrectness logic for quantum programs. Information and Computation, 294:105077, 2023.","DOI":"10.1016\/j.ic.2023.105077"},{"key":"2_CR16","doi-asserted-by":"crossref","unstructured":"C.A.R. Hoare. Proof of correctness of data representations. Acta Informatica, 1(4):271\u2013281, 1972.","DOI":"10.1007\/BF00289507"},{"key":"2_CR17","unstructured":"Infer. Infer\u2019s test repository. https:\/\/github.com\/facebook\/infer\/blob\/main\/infer\/tests\/codetoanalyze\/java\/pulse. Accessed: 2023-8-20."},{"key":"2_CR18","doi-asserted-by":"crossref","unstructured":"Ioannis\u00a0T Kassios. Dynamic frames: Support for framing, dependencies and sharing without restrictions. In FM 2006: Formal Methods: 14th International Symposium on Formal Methods, Hamilton, Canada, August 21-27, 2006. Proceedings 14, pages 268\u2013283. Springer, 2006.","DOI":"10.1007\/11813040_19"},{"key":"2_CR19","doi-asserted-by":"crossref","unstructured":"Maria Kechagia and Diomidis Spinellis. Undocumented and unchecked: exceptions that spell trouble. In Proceedings of the 11th Working Conference on Mining Software Repositories, pages 312\u2013315, 2014.","DOI":"10.1145\/2597073.2597089"},{"key":"2_CR20","doi-asserted-by":"crossref","unstructured":"Quang\u00a0Loc Le, Azalea Raad, Jules Villard, Josh Berdine, Derek Dreyer, and Peter\u00a0W. O\u2019Hearn. Finding real bugs in big programs with incorrectness logic. Proc. ACM Program. Lang., 6(OOPSLA1), apr 2022.","DOI":"10.1145\/3498695"},{"key":"2_CR21","unstructured":"Gary\u00a0T Leavens and David\u00a0A Naumann. Behavioral subtyping is equivalent to modular reasoning for object-oriented programs. Department of Computer Science, Iowa State University, Ames, Iowa, 50011:06\u201336, 2006."},{"key":"2_CR22","doi-asserted-by":"crossref","unstructured":"Gary\u00a0T Leavens and David\u00a0A Naumann. Behavioral subtyping, specification inheritance, and modular reasoning. ACM Transactions on Programming Languages and Systems (TOPLAS), 37(4):1\u201388, 2015.","DOI":"10.1145\/2766446"},{"key":"2_CR23","doi-asserted-by":"crossref","unstructured":"Gary\u00a0T Leavens and William\u00a0E Weihl. Specification and verification of object-oriented programs using supertype abstraction. Acta Informatica, 32(8):705\u2013778, 1995.","DOI":"10.1007\/BF01178658"},{"key":"2_CR24","unstructured":"Junhee Lee, Seongjoon Hong, and Hakjoo Oh. Npex: Repairing java null pointer exceptions without tests. In Proceedings of the 44th International Conference on Software Engineering, pages 1532\u20131544, 2022."},{"key":"2_CR25","doi-asserted-by":"crossref","unstructured":"K\u00a0Rustan\u00a0M Leino and Peter M\u00fcller. Object invariants in dynamic contexts. In European Conference on Object-Oriented Programming, pages 491\u2013515. Springer, 2004.","DOI":"10.1007\/978-3-540-24851-4_22"},{"key":"2_CR26","doi-asserted-by":"crossref","unstructured":"Wenhua Li, Quang\u00a0Loc Le, Yahui Song, and Wei-Ngan Chin. Incorrectness proofs for object-oriented programs via subclass reflection. In Chung-Kil Hur, editor, Programming Languages and Systems - 21st Asian Symposium, APLAS 2023, Taipei, Taiwan, November 26-29, 2023, Proceedings, volume 14405 of Lecture Notes in Computer Science, pages 269\u2013289. Springer, 2023.","DOI":"10.1007\/978-981-99-8311-7_13"},{"key":"2_CR27","unstructured":"Wenhua Li, Quang\u00a0Loc Le, Yahui Song, and Wei-Ngan Chin. Inferring incorrectness specifications for object-oriented programs (technical report). https:\/\/github.com\/liwenhua1\/infer\/blob\/main\/TACAS25.pdf, 2024."},{"key":"2_CR28","doi-asserted-by":"crossref","unstructured":"Barbara Liskov. Keynote address-data abstraction and hierarchy. In Addendum to the proceedings on Object-oriented programming systems, languages and applications (Addendum), pages 17\u201334, 1987.","DOI":"10.1145\/62138.62141"},{"key":"2_CR29","unstructured":"Petar Maksimovi\u0107, Caroline Cronj\u00e4ger, Andreas L\u00f6\u00f6w, Julian Sutherland, and Philippa Gardner. Exact Separation Logic: Towards Bridging the Gap Between Verification and Bug-Finding. In Karim Ali and Guido Salvaneschi, editors, 37th European Conference on Object-Oriented Programming (ECOOP 2023), volume 263 of Leibniz International Proceedings in Informatics (LIPIcs), pages 19:1\u201319:27, Dagstuhl, Germany, 2023. Schloss Dagstuhl \u2013 Leibniz-Zentrum f\u00fcr Informatik."},{"key":"2_CR30","doi-asserted-by":"crossref","unstructured":"Luis Mastrangelo, Matthias Hauswirth, and Nathaniel Nystrom. Casting about in the dark: An empirical study of cast operations in java programs. Proceedings of the ACM on Programming Languages, 3(OOPSLA):1\u201331, 2019.","DOI":"10.1145\/3360584"},{"key":"2_CR31","doi-asserted-by":"crossref","unstructured":"Peter\u00a0W. O\u2019Hearn. Incorrectness logic. Proc. ACM Program. Lang., 4(POPL):10:1\u201310:32, 2020.","DOI":"10.1145\/3371078"},{"key":"2_CR32","doi-asserted-by":"crossref","unstructured":"Matthew Parkinson and Gavin Bierman. Separation logic and abstraction. In Proceedings of the 32nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages, pages 247\u2013258, 2005.","DOI":"10.1145\/1040305.1040326"},{"key":"2_CR33","doi-asserted-by":"crossref","unstructured":"Matthew\u00a0J Parkinson and Gavin\u00a0M Bierman. Separation logic, abstraction and inheritance. ACM SIGPLAN Notices, 43(1):75\u201386, 2008.","DOI":"10.1145\/1328897.1328451"},{"key":"2_CR34","doi-asserted-by":"crossref","unstructured":"Christopher\u00a0M Poskitt. Incorrectness logic for graph programs. In International Conference on Graph Transformation, pages 81\u2013101. Springer, 2021.","DOI":"10.1007\/978-3-030-78946-6_5"},{"key":"2_CR35","doi-asserted-by":"crossref","unstructured":"Azalea Raad, Josh Berdine, Hoang-Hai Dang, Derek Dreyer, Peter O\u2019Hearn, and Jules Villard. Local reasoning about the presence of bugs: Incorrectness separation logic. In International Conference on Computer Aided Verification, pages 225\u2013252. Springer, 2020.","DOI":"10.1007\/978-3-030-53291-8_14"},{"key":"2_CR36","doi-asserted-by":"crossref","unstructured":"Azalea Raad, Josh Berdine, Derek Dreyer, and Peter\u00a0W O\u2019Hearn. Concurrent incorrectness separation logic. Proceedings of the ACM on Programming Languages, 6(POPL):1\u201329, 2022.","DOI":"10.1145\/3498695"},{"key":"2_CR37","doi-asserted-by":"crossref","unstructured":"Yahui Song, Xiang Gao, Wenhua Li, Wei-Ngan Chin, and Abhik Roychoudhury. Provenfix: Temporal property-guided program repair. Proc. ACM Softw. Eng., 1(FSE):226\u2013248, 2024.","DOI":"10.1145\/3643737"},{"key":"2_CR38","doi-asserted-by":"crossref","unstructured":"Stephan van Staden, Cristiano Calcagno, and Bertrand Meyer. Verifying executable object-oriented specifications with separation logic. In ECOOP 2010\u2013Object-Oriented Programming: 24th European Conference, Maribor, Slovenia, June 21-25, 2010. Proceedings 24, pages 151\u2013174. Springer, 2010.","DOI":"10.1007\/978-3-642-14107-2_8"},{"key":"2_CR39","doi-asserted-by":"crossref","unstructured":"Peng Yan, Hanru Jiang, and Nengkun Yu. On incorrectness logic for quantum programs. Proceedings of the ACM on Programming Languages, 6(OOPSLA1):1\u201328, 2022.","DOI":"10.1145\/3527316"},{"key":"2_CR40","doi-asserted-by":"crossref","unstructured":"Noam Zilberstein, Derek Dreyer, and Alexandra Silva. Outcome logic: A unifying foundation for correctness and incorrectness reasoning. Proc. ACM Program. Lang., 7(OOPSLA1), apr 2023.","DOI":"10.1145\/3586045"}],"container-title":["Lecture Notes in Computer Science","Tools and Algorithms for the Construction and Analysis of Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-031-90643-5_2","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,4,30]],"date-time":"2025-04-30T02:08:31Z","timestamp":1745978911000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-031-90643-5_2"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025]]},"ISBN":["9783031906428","9783031906435"],"references-count":40,"URL":"https:\/\/doi.org\/10.1007\/978-3-031-90643-5_2","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-031-90643-5","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025]]},"assertion":[{"value":"1 May 2025","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"TACAS","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Conference on Tools and Algorithms for the Construction and Analysis of Systems","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Hamilton, ON","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Canada","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2025","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"3 May 2025","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"8 May 2025","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"31","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"tacas2025","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/etaps.org\/2025\/conferences\/tacas\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}