{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,13]],"date-time":"2026-11-13T17:43:24Z","timestamp":1794591804292,"version":"4.9.1"},"reference-count":72,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA2","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2025,10,9]]},"abstract":"<jats:p>\n                    An\n                    <jats:italic toggle=\"yes\">open program<\/jats:italic>\n                    is one for which the complete source code is not available, which is a reality for real-world program verification. Software verification tools tend to assume the worst about any unconstrained behavior and this can yield an enormous number of spurious warnings for open programs. For any serious verification effort, the engineer must invest time up-front in building a suitable model (or mock) of any missing code, which is time-consuming and error-prone. Inaccuracies in the mocks can lead to incorrect verification results.\n                  <\/jats:p>\n                  <jats:p>\n                    In this paper, we demonstrate a technique that is capable of distinguishing between false positives and actual bugs from potential memory-safety violations in an open program with high accuracy. Central to the technique is the ability of making\n                    <jats:italic toggle=\"yes\">angelic<\/jats:italic>\n                    assumptions about missing code. To accomplish this, we first mine a set of idiomatic patterns in buffer-manipulating programs using a large language model (LLM). This is complemented by a formal synthesis strategy that performs property-directed reasoning to select, adapt and instantiate these idiomatic patterns into angelic assumptions on the target program. Overall, our system,\n                    <jats:sc>Seeker,<\/jats:sc>\n                    guarantees that a program is deemed correct\n                    <jats:italic toggle=\"yes\">only<\/jats:italic>\n                    if it can be verified under a well-defined set of \u201ctrusted\u201d idiomatic patterns. In our experiments over a set of benchmarks curated from popular open-source software, our tool\n                    <jats:sc>Seeker<\/jats:sc>\n                    is able to identify 79% of the false positives with zero false negatives.\n                  <\/jats:p>","DOI":"10.1145\/3763090","type":"journal-article","created":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T08:51:31Z","timestamp":1759999891000},"page":"1119-1147","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["Memory-Safety Verification of Open Programs with Angelic Assumptions"],"prefix":"10.1145","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8700-3428","authenticated-orcid":false,"given":"Gourav","family":"Takhar","sequence":"first","affiliation":[{"name":"Indian Institute of Technology Kanpur, Kanpur, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-0436-6413","authenticated-orcid":false,"given":"Baldip","family":"Bijlani","sequence":"additional","affiliation":[{"name":"Indian Institute of Technology Kanpur, Kanpur, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3320-9543","authenticated-orcid":false,"given":"Prantik","family":"Chatterjee","sequence":"additional","affiliation":[{"name":"Indian Institute of Technology Kanpur, Kanpur, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-4359-9378","authenticated-orcid":false,"given":"Akash","family":"Lal","sequence":"additional","affiliation":[{"name":"Microsoft Research, Bengaluru, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3394-023X","authenticated-orcid":false,"given":"Subhajit","family":"Roy","sequence":"additional","affiliation":[{"name":"Indian Institute of Technology Kanpur, Kanpur, India"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,10,9]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"[n. d.]. 0day \u201cIn the Wild\u201d. https:\/\/googleprojectzero.blogspot.com\/p\/0day.html. Accessed: 2023-01-08."},{"key":"e_1_3_1_3_2","unstructured":"[n. d.]. Trends challenges and strategic shifts in the software vulnerability mitigation landscape. https:\/\/github.com\/microsoft\/MSRC-Security-Research\/blob\/master\/presentations\/2019_02_BlueHatIL\/2019_01%20-%20BlueHatIL%20-%20Trends%2C%20challenge%2C%20and%20shifts%20in%20software%20vulnerability%20mitigation.pdf. Accessed: 2023-01-08."},{"key":"e_1_3_1_4_2","unstructured":"[n. d.]. Verisec benchmarks. https:\/\/github.com\/tomhart-msc\/verisec. Accessed: 2023-01-08."},{"key":"e_1_3_1_5_2","unstructured":"2023. CVE \u2014 Common Vulnerabilities and Exposures. https:\/\/cve.mitre.org\/."},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","unstructured":"2025. Artifact for Memory-Safety Verification of Open Programs with Angelic Assumptions. doi:10.5281\/zenodo.15760792","DOI":"10.5281\/zenodo.15760792"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/2837614.2837628"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/1040305.1040314"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1007\/11513988_52"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-13185-1_3"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/2676726.2676977"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/3001854.3001860"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/2983990.2984014"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/2491956.2462188"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-20398-5_33"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/1985793.1985811"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-36577-X_24"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","unstructured":"Nathan Cooprider Will Archer Eric Eide David Gay and John Regehr. 2007. Efficient memory safety for TinyOS. In Proceedings of the 5th international conference on Embedded networked sensor systems. 205\u2013218. doi:10.1145\/1322263.1322283","DOI":"10.1145\/1322263.1322283"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-21690-4_19"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","unstructured":"Jesse Davis and Mark Goadrich. 2006. The relationship between Precision-Recall and ROC curves. In Proceedings of the 23rd international conference on Machine learning. 233\u2013240. doi:10.1145\/1143844.1143874","DOI":"10.1145\/1143844.1143874"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-39799-8_46"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/2254064.2254087"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-48288-9_7"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1109\/COMPSAC51774.2021.00194"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2019.2943546"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/1081706.1081713"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","unstructured":"C. A. R. Hoare. 1969. An axiomatic basis for computer programming. Commun. ACM 12 10 (Oct. 1969) 576\u2013580. doi:10.1145\/363235.363259","DOI":"10.1145\/363235.363259"},{"key":"e_1_3_1_29_2","unstructured":"Lei Huang Weijiang Yu Weitao Ma Weihong Zhong Zhangyin Feng Haotian Wang Qianglong Chen Weihua Peng Xiaocheng Feng Bing Qin et al. 2023. A survey on hallucination in large language models: Principles taxonomy challenges and open questions. arXiv preprint arXiv:2311.05232 (2023)."},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3482909.3482915"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/1993498.1993550"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","unstructured":"Pankaj Kumar Kalita Miriyala Jeevan Kumar and Subhajit Roy. 2022. Synthesis of Semantic Actions in Attribute Grammars. In 2022 Formal Methods in Computer-Aided Design (FMCAD). 304\u2013314. doi:10.34727\/2022\/isbn.978-3-85448-053-2_37","DOI":"10.34727\/2022\/isbn.978-3-85448-053-2_37"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3563334"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-74776-2_6"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","unstructured":"Pankaj Kumar Kalita Thomas Reps and Subhajit Roy. 2025. Automated Abstract Transformer Synthesis for Reduced Product Domains. ACM Trans. Softw. Eng. Methodol. (May 2025). doi:10.1145\/3733716 Just Accepted.","DOI":"10.1145\/3733716"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10703-023-00420-3"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.34727\/2024\/isbn.978-3-85448-065-5_16"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-44898-5_16"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30482-1_23"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/1321631.1321691"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3691620.3695015"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/3533767.3534381"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.34727\/2020\/isbn.978-3-85448-042-6_24"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-31424-7_32"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/2813885.2738002"},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.515"},{"key":"e_1_3_1_47_2","doi-asserted-by":"publisher","unstructured":"Riasat Mahbub Mohammad Masudur Rahman and Muhammad Ahsanul Habib. 2024. On the Prevalence Evolution and Impact of Code Smells in Simulation Modelling Software. In 2024 IEEE International Conference on Source Code Analysis and Manipulation (SCAM). 154\u2013165. doi:10.1109\/SCAM63643.2024.00024","DOI":"10.1109\/SCAM63643.2024.00024"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/3571208"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","unstructured":"Nausheen Mohammed Akash Lal Aseem Rastogi Rahul Sharma and Subhajit Roy. 2025. LLM Assistance for Memory Safety. In 2025 IEEE\/ACM 47th International Conference on Software Engineering (ICSE). 1717\u20131728. doi:10.1109\/ICSE55347.2025.00023","DOI":"10.1109\/ICSE55347.2025.00023"},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-65627-9_24"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3563332"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","unstructured":"Gary Mullen and Liam Meany. 2019. Assessment of Buffer Overflow Based Attacks On an IoT Operating System. In 2019 Global IoT Summit (GIoTS). 1\u20136. doi:10.1109\/GIOTS.2019.8766434","DOI":"10.1109\/GIOTS.2019.8766434"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","unstructured":"Santosh Nagarakatte Jianzhou Zhao Milo MK Martin and Steve Zdancewic. 2009. SoftBound: Highly compatible and complete spatial memory safety for C. In Proceedings of the 30th ACM SIGPLAN Conference on Programming Language Design and Implementation. 245\u2013258. doi:10.1145\/1543135.1542504","DOI":"10.1145\/1543135.1542504"},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/2908080.2908099"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1145\/3293882.3330554"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2021.3120349"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","unstructured":"Sumanth Prabhu Grigory Fedyukovich Kumar Madhukar and Deepak D\u2019Souza. 2021. Specification synthesis with constrained horn clauses. In Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation. 1203\u20131217. doi:10.1145\/3453483.3454104","DOI":"10.1145\/3453483.3454104"},{"key":"e_1_3_1_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/3133889"},{"key":"e_1_3_1_59_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-08867-9_7"},{"key":"e_1_3_1_60_2","doi-asserted-by":"publisher","unstructured":"Subhajit Roy Justin Hsu and Aws Albarghouthi. 2021. Learning Differentially Private Mechanisms. In 2021 IEEE Symposium on Security and Privacy (SP). 852\u2013865. doi:10.1109\/SP40001.2021.00060","DOI":"10.1109\/SP40001.2021.00060"},{"key":"e_1_3_1_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/3236024.3236084"},{"key":"e_1_3_1_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/3188720"},{"key":"e_1_3_1_63_2","doi-asserted-by":"publisher","DOI":"10.1109\/ESEM.2017.57"},{"key":"e_1_3_1_64_2","doi-asserted-by":"publisher","DOI":"10.1145\/2914770.2837655"},{"key":"e_1_3_1_65_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-99524-9_1"},{"key":"e_1_3_1_66_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-37709-9_10"},{"key":"e_1_3_1_67_2","doi-asserted-by":"publisher","DOI":"10.1145\/3617555.3617874"},{"key":"e_1_3_1_68_2","doi-asserted-by":"publisher","DOI":"10.1145\/3368826.3377910"},{"key":"e_1_3_1_69_2","doi-asserted-by":"publisher","DOI":"10.1145\/3106237.3106263"},{"key":"e_1_3_1_70_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10703-021-00387-z"},{"key":"e_1_3_1_71_2","doi-asserted-by":"publisher","DOI":"10.1145\/3485493"},{"key":"e_1_3_1_72_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-03542-0_21"},{"key":"e_1_3_1_73_2","doi-asserted-by":"publisher","unstructured":"Misha Zitser Richard Lippmann and Tim Leek. 2004. Testing static analysis tools using exploitable buffer overflows from open source code. In Proceedings of the 12th ACM SIGSOFT twelfth international symposium on Foundations of software engineering. 97\u2013106. doi:10.1145\/1029894.1029911","DOI":"10.1145\/1029894.1029911"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3763090","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:13:54Z","timestamp":1784196834000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3763090"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,9]]},"references-count":72,"journal-issue":{"issue":"OOPSLA2","published-print":{"date-parts":[[2025,10,9]]}},"alternative-id":["10.1145\/3763090"],"URL":"https:\/\/doi.org\/10.1145\/3763090","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,9]]},"assertion":[{"value":"2025-03-25","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-12","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-10-09","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}