{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T17:13:15Z","timestamp":1795194795386,"version":"4.10.3"},"reference-count":78,"publisher":"Association for Computing Machinery (ACM)","issue":"ISSTA","license":[{"start":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T00:00:00Z","timestamp":1750550400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nd\/4.0\/legalcode"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,22]]},"abstract":"<jats:p>\n                    Rust is an emerging programming language that ensures safety through strict compile-time checks. A Rust function marked as\n                    <jats:monospace>unsafe<\/jats:monospace>\n                    indicates it has additional safety requirements (\n                    <jats:italic toggle=\"yes\">e.g., initialized, not null<\/jats:italic>\n                    ), known as contracts in the community. These unsafe functions can only be called within explicit unsafe blocks and the contracts must be guaranteed by the caller. To reuse and reduce unsafe code, the community recommends using\n                    <jats:italic toggle=\"yes\">safe encapsulation of unsafe calls<\/jats:italic>\n                    (EUC) in practice. However, an EUC is\n                    <jats:italic toggle=\"yes\">unsound<\/jats:italic>\n                    if any contract is not guaranteed and could lead to undefined behaviors in safe Rust, thus breaking Rust\u2019s safety promise. It is challenging to identify unsound EUCs with conventional techniques due to the limitation in cross-lingual comprehension of code and natural language. Large language models (LLMs) have demonstrated impressive capabilities, but their performance is unsatisfactory owing to the complexity of contracts and the lack of domain knowledge. To this end, we propose a novel framework, Safe4U, which incorporates LLMs, static analysis tools, and domain knowledge to identify unsound EUCs. Safe4U first utilizes static analysis tools to retrieve relevant context. Then, it decomposes the primitive contract description into several fine-grained classified contracts. Ultimately, Safe4U introduces domain knowledge and invokes the reasoning capability of LLMs to verify every fine-grained contract. The evaluation results show that Safe4U brings a general performance improvement and the fine-grained results are constructive for locating specific unsound sources. In real-world scenarios, Safe4U can identify 9 out of 11 unsound EUCs from CVE. Furthermore, Safe4U detected 22 new unsound EUCs in the most downloaded crates, 16 of which have been confirmed.\n                  <\/jats:p>","DOI":"10.1145\/3728890","type":"journal-article","created":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T10:52:56Z","timestamp":1750589576000},"page":"457-480","source":"Crossref","is-referenced-by-count":6,"title":["Safe4U: Identifying Unsound Safe Encapsulations of Unsafe Calls in Rust using LLMs"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0009-0001-7191-0998","authenticated-orcid":false,"given":"Huan","family":"Li","sequence":"first","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0001-8465-8189","authenticated-orcid":false,"given":"Bei","family":"Wang","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0093-3292","authenticated-orcid":false,"given":"Xing","family":"Hu","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6302-3256","authenticated-orcid":false,"given":"Xin","family":"Xia","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,22]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"2024. API Reference - OpenAI API. https:\/\/platform.openai.com\/docs\/api-reference. Last accessed Jun. 2024."},{"key":"e_1_3_1_3_2","unstructured":"2024. Models - Hugging Face. https:\/\/huggingface.co\/models. Last accessed Jun. 2024."},{"key":"e_1_3_1_4_2","unstructured":"2024. Replication package. https:\/\/github.com\/huanli-00\/Safe4U-replication.git. replication package."},{"key":"e_1_3_1_5_2","unstructured":"Josh Achiam Steven Adler Sandhini Agarwal Lama Ahmad Ilge Akkaya Florencia Leoni Aleman Diogo Almeida Janko Altenschmidt Sam Altman Shyamal Anadkat et al. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774 (2023)."},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","unstructured":"Hussain M. J. Almohri and David Evans. 2018. Fidelius Charm: Isolating Unsafe Rust Code. In Proceedings of the Eighth ACM Conference on Data and Application Security and Privacy CODASPY 2018 Tempe AZ USA March 19-21 2018. 248\u2013255. https:\/\/doi.org\/10.1145\/3176258.3176330 10.1145\/3176258.3176330","DOI":"10.1145\/3176258.3176330"},{"key":"e_1_3_1_7_2","first-page":"3446","volume-title":"In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation, LREC\/COLING 2024, 20-25 May, 2024, Torino, Italy","author":"An Jimin","year":"2024","unstructured":"Jimin An, YunSeok Choi, and Jee-Hyong Lee. 2024. Code Defect Detection Using Pre-trained Language Models with Encoder-Decoder via Line-Level Defect Localization. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation, LREC\/COLING 2024, 20-25 May, 2024, Torino, Italy, Nicoletta Calzolari, Min-Yen Kan, V\u00e9ronique Hoste, Alessandro Lenci, Sakriani Sakti, and Nianwen Xue (Eds.). ELRA and ICCL, 3446\u20133456. https:\/\/aclanthology.org\/2024.lrec-main.306"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/3428204"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","unstructured":"Yechan Bae Youngsuk Kim Ammar Askar Jungwon Lim and Taesoo Kim. 2021. Rudra: Finding Memory Safety Bugs in Rust at the Ecosystem Scale. In SOSP \u201921: ACM SIGOPS 28th Symposium on Operating Systems Principles Virtual Event \/ Koblenz Germany October 26-29 2021. 84\u201399. https:\/\/doi.org\/10.1145\/3477132.3483570 10.1145\/3477132.3483570","DOI":"10.1145\/3477132.3483570"},{"key":"e_1_3_1_10_2","unstructured":"bytecodealliance. 2024. wasmtime-jit-debug crate. https:\/\/crates.io\/crates\/wasmtime-jit-debug. Last accessed Jun. 2024."},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2021.3087402"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","unstructured":"Junkai Chen Zhiyuan Pan Xing Hu Zhenhao Li Ge Li and Xin Xia. 2024. Reasoning Runtime Behavior of a Program with LLM: How Far Are We? CoRR abs\/2403.16437 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2403.16437 10.48550\/ARXIV.2403.16437 arXiv:2403.16437","DOI":"10.48550\/ARXIV.2403.16437"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/3650212.3652127"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.18653\/V1\/2024.ACL-LONG.65"},{"key":"e_1_3_1_15_2","unstructured":"Rust Clippy. 2024. Clippy Lints of Missing Safety Document. https:\/\/rust-lang.github.io\/rust-clippy\/master\/index.html#\/missing_safety_doc. Last accessed Jun. 2024."},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3546945"},{"key":"e_1_3_1_17_2","volume-title":"The Rust community\u2019s crate registry","author":"The crates.io Team","year":"2024","unstructured":"The crates.io Team. 2024. The Rust community\u2019s crate registry. https:\/\/crates.io. Last accessed Jun. 2024."},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/3542948"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","unstructured":"Mohan Cui Shuran Sun Hui Xu and Yangfan Zhou. 2024. Is unsafe an Achilles\u2019 Heel? A Comprehensive Study of Safety Requirements in Unsafe Rust Programming. (2024) 106:1\u2013106:13. https:\/\/doi.org\/10.1145\/3597503.3639136 10.1145\/3597503.3639136","DOI":"10.1145\/3597503.3639136"},{"key":"e_1_3_1_20_2","unstructured":"CVE. 2024. Common Vulnerabilities and Exposures. https:\/\/cve.mitre.org\/cve\/. Last accessed Jun. 2024."},{"key":"e_1_3_1_21_2","unstructured":"CVE. 2024. Common Vulnerabilities and Exposures related to Rust. https:\/\/cve.mitre.org\/cgi-bin\/cvekey.cgi?keyword=rust. Last accessed Jun. 2024."},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","unstructured":"Yangruibo Ding Yanjun Fu Omniyyah Ibrahim Chawin Sitawarin Xinyun Chen Basel Alomair David A. Wagner Baishakhi Ray and Yizheng Chen. 2024. Vulnerability Detection with Code Language Models: How Far Are We? CoRR abs\/2403.18624 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2403.18624 10.48550\/ARXIV.2403.18624 arXiv:2403.18624","DOI":"10.48550\/ARXIV.2403.18624"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","unstructured":"Xu Duan Jingzheng Wu Shouling Ji Zhiqing Rui Tianyue Luo Mutian Yang and Yanjun Wu. 2019. VulSniper: Focus Your Attention to Shoot Fine-Grained Vulnerabilities. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence IJCAI 2019 Macao China August 10-16 2019. 4665\u20134671. https:\/\/doi.org\/10.24963\/IJCAI.2019\/648 10.24963\/IJCAI.2019\/648","DOI":"10.24963\/IJCAI.2019\/648"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","unstructured":"Ana Nora Evans Bradford Campbell and Mary Lou Soffa. 2020. Is rust used safely by software developers?. In ICSE \u201920: 42nd International Conference on Software Engineering Seoul South Korea 27 June - 19 July 2020. 246\u2013257. https:\/\/doi.org\/10.1145\/3377811.3380413 10.1145\/3377811.3380413","DOI":"10.1145\/3377811.3380413"},{"key":"e_1_3_1_25_2","doi-asserted-by":"crossref","unstructured":"Thomas Palmeira Ferraz Kartik Mehta Yu-Hsiang Lin Haw-Shiuan Chang Shereen Oraby Sijia Liu Vivek Subramanian Tagyoung Chung Mohit Bansal and Nanyun Peng. 2024. LLM Self-Correction with DeCRIM: Decompose Critique and Refine for Enhanced Following of Instructions with Multiple Constraints. In Findings of the Association for Computational Linguistics: EMNLP 2024 Miami Florida USA November 12-16 2024. 7773\u20137812. https:\/\/aclanthology.org\/2024.findings-emnlp.458","DOI":"10.18653\/v1\/2024.findings-emnlp.458"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","unstructured":"Shuzheng Gao Xin-Cheng Wen Cuiyun Gao Wenxuan Wang Hongyu Zhang and Michael R. Lyu. 2023. What Makes Good In-Context Demonstrations for Code Intelligence Tasks with LLMs?. In 38th IEEE\/ACM International Conference on Automated Software Engineering ASE 2023 Luxembourg September 11-15 2023. 761\u2013773. https:\/\/doi.org\/10.1109\/ASE56229.2023.00109 10.1109\/ASE56229.2023.00109","DOI":"10.1109\/ASE56229.2023.00109"},{"key":"e_1_3_1_27_2","unstructured":"Alex Gu Baptiste Rozi\u00e8re Hugh James Leather Armando Solar-Lezama Gabriel Synnaeve and Sida Wang. 2024. CRUXEval: A Benchmark for Code Reasoning Understanding and Execution. (2024). https:\/\/openreview.net\/forum?id=Ffpg52swvg"},{"key":"e_1_3_1_28_2","first-page":"2509","volume-title":"In 32nd USENIX Security Symposium, USENIX Security 2023, Anaheim, CA, USA, August 9-11, 2023","author":"H\u00f6ltervennhoff Sandra","year":"2023","unstructured":"Sandra H\u00f6ltervennhoff, Philip Klostermeyer, Noah W\u00f6hler, Yasemin Acar, and Sascha Fahl. 2023. \"I wouldn\u2019t want my unsafe code to run my pacemaker\": An Interview Study on the Use, Comprehension, and Perceived Risks of Unsafe Rust. In 32nd USENIX Security Symposium, USENIX Security 2023, Anaheim, CA, USA, August 9-11, 2023, Joseph A. Calandrino and Carmela Troncoso (Eds.). USENIX Association, 2509\u20132525. https:\/\/www.usenix.org\/conference\/usenixsecurity23\/presentation\/holtervennhoff"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","unstructured":"Naman Jain King Han Alex Gu Wen-Ding Li Fanjia Yan Tianjun Zhang Sida Wang Armando Solar-Lezama Koushik Sen and Ion Stoica. 2024. LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code. CoRR abs\/2403.07974 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2403.07974 10.48550\/ARXIV.2403.07974 arXiv:2403.07974","DOI":"10.48550\/ARXIV.2403.07974"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","unstructured":"Xuhui Jiang Yuxing Tian Fengrui Hua Chengjin Xu Yuanzhuo Wang and Jian Guo. 2024. A Survey on Large Language Model Hallucination via a Creativity Perspective. CoRR abs\/2402.06647 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2402.06647 10.48550\/ARXIV.2402.06647 arXiv:2402.06647","DOI":"10.48550\/ARXIV.2402.06647"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/3158154"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3660771"},{"key":"e_1_3_1_33_2","unstructured":"Kani. 2024. Kani Rust Verifier. https:\/\/github.com\/model-checking\/kani."},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","unstructured":"Avishree Khare Saikat Dutta Ziyang Li Alaia Solko-Breslin Rajeev Alur and Mayur Naik. 2023. Understanding the Effectiveness of Large Language Models in Detecting Security Vulnerabilities. CoRR abs\/2311.16169 (2023). https:\/\/doi.org\/10.48550\/ARXIV.2311.16169 10.48550\/ARXIV.2311.16169 arXiv:2311.16169","DOI":"10.48550\/ARXIV.2311.16169"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","unstructured":"Heiko Koziolek Sten Gr\u00fcner Rhaban Hark Virendra Ashiwal Sofia Linsbauer and Nafise Eskandani. 2024. LLM-based and Retrieval-Augmented Control Code Generation. In LLM4CODE@ICSE. 22\u201329. https:\/\/doi.org\/10.1145\/3643795.3648384 10.1145\/3643795.3648384","DOI":"10.1145\/3643795.3648384"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3586037"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3649828"},{"key":"e_1_3_1_38_2","unstructured":"Yingcong Li Kartik Sreenivasan Angeliki Giannou Dimitris Papailiopoulos and Samet Oymak. 2023. Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learning. (2023). http:\/\/papers.nips.cc\/paper_files\/paper\/2023\/hash\/45e15bae91a6f213d45e203b8a29be48-Abstract-Conference.html"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","unstructured":"Zhuohua Li Jincheng Wang Mingshen Sun and John C. S. Lui. 2021. MirChecker: Detecting Bugs in Rust Programs via Static Analysis. In CCS \u201921: 2021 ACM SIGSAC Conference on Computer and Communications Security Virtual Event Republic of Korea November 15 - 19 2021. 2183\u20132196. https:\/\/doi.org\/10.1145\/3460120.3484541 10.1145\/3460120.3484541","DOI":"10.1145\/3460120.3484541"},{"key":"e_1_3_1_40_2","unstructured":"Zhen Li Deqing Zou Shouhuai Xu Xinyu Ou Hai Jin Sujuan Wang Zhijun Deng and Yuyi Zhong. 2018. VulDeePecker: A Deep Learning-Based System for Vulnerability Detection. (2018). https:\/\/www.ndss-symposium.org\/wp-content\/uploads\/2018\/02\/ndss2018_03A-2_Li_paper.pdf"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","unstructured":"Peiming Liu Gang Zhao and Jeff Huang. 2020. Securing unsafe rust programs with XRust. In ICSE \u201920: 42nd International Conference on Software Engineering Seoul South Korea 27 June - 19 July 2020. 234\u2013245. https:\/\/doi.org\/10.1145\/3377811.3380325 10.1145\/3377811.3380325","DOI":"10.1145\/3377811.3380325"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","unstructured":"Zhe Liu Chunyang Chen Junjie Wang Mengzhuo Chen Boyu Wu Xing Che Dandan Wang and Qing Wang. 2024. Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisions. In Proceedings of the 46th IEEE\/ACM International Conference on Software Engineering ICSE 2024 Lisbon Portugal April 14-20 2024. 100:1\u2013100:13. https:\/\/doi.org\/10.1145\/3597503.3639180 10.1145\/3597503.3639180","DOI":"10.1145\/3597503.3639180"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","unstructured":"Yusuke Matsushita Xavier Denis Jacques-Henri Jourdan and Derek Dreyer. 2022. RustHornBelt: a semantic foundation for functional verification of Rust programs with unsafe code. In PLDI \u201922: 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation San Diego CA USA June 13 - 17 2022. 841\u2013856. https:\/\/doi.org\/10.1145\/3519939.3523704 10.1145\/3519939.3523704","DOI":"10.1145\/3519939.3523704"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3462205"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.11613\/BM.2012.031"},{"key":"e_1_3_1_46_2","unstructured":"Miri. 2019. An interpreter for Rust\u2019s mid-level intermediate representation. https:\/\/github.com\/rust-lang\/miri."},{"key":"e_1_3_1_47_2","first-page":"26619","volume-title":"In International Conference on Machine Learning, ICML 2023, 23-29 July 2023","author":"Orlanski Gabriel","year":"2023","unstructured":"Gabriel Orlanski, Kefan Xiao, Xavier Garcia, Jeffrey Hui, Joshua Howland, Jonathan Malmaud, Jacob Austin, Rishabh Singh, and Michele Catasta. 2023. Measuring the Impact of Programming Language Distribution. In International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA. 26619\u201326645. https:\/\/proceedings.mlr.press\/v202\/orlanski23a.html"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","unstructured":"Zhiyuan Pan Xing Hu Xin Xia and Xiaohu Yang. 2024. Enhancing Repository-Level Code Generation with Integrated Contextual Information. CoRR abs\/2406.03283 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2406.03283 10.48550\/ARXIV.2406.03283 arXiv:2406.03283","DOI":"10.48550\/ARXIV.2406.03283"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3380393"},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","unstructured":"Boqin Qin Yilun Chen Zeming Yu Linhai Song and Yiying Zhang. 2020. Understanding memory and thread safety practices and issues in real-world Rust programs. In Proceedings of the 41st ACM SIGPLAN International Conference on Programming Language Design and Implementation PLDI 2020 London UK June 15-20 2020. 763\u2013779. https:\/\/doi.org\/10.1145\/3385412.3386036 10.1145\/3385412.3386036","DOI":"10.1145\/3385412.3386036"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","unstructured":"Boqin Qin Yilun Chen Zeming Yu Linhai Song and Yiying Zhang. 2020. Understanding memory and thread safety practices and issues in real-world Rust programs. In Proceedings of the 41st ACM SIGPLAN International Conference on Programming Language Design and Implementation PLDI 2020 London UK June 15-20 2020. 763\u2013779. https:\/\/doi.org\/10.1145\/3385412.3386036 10.1145\/3385412.3386036","DOI":"10.1145\/3385412.3386036"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","unstructured":"Ansh Radhakrishnan Karina Nguyen Anna Chen Carol Chen Carson Denison Danny Hernandez Esin Durmus Evan Hubinger Jackson Kernion Kamile Lukosiute Newton Cheng Nicholas Joseph Nicholas Schiefer Oliver Rausch Sam McCandlish Sheer El Showk Tamera Lanham Tim Maxwell Venkatesa Chandrasekaran Zac Hatfield-Dodds Jared Kaplan Jan Brauner Samuel R. Bowman and Ethan Perez. 2023. Question Decomposition Improves the Faithfulness of Model-Generated Reasoning. CoRR abs\/2307.11768 (2023). https:\/\/doi.org\/10.48550\/ARXIV.2307.11768 10.48550\/ARXIV.2307.11768 arXiv:2307.11768","DOI":"10.48550\/ARXIV.2307.11768"},{"key":"e_1_3_1_53_2","unstructured":"Niklas Risse and Marcel B\u00f6hme. 2024. Uncovering the Limits of Machine Learning for Automatic Vulnerability Detection. (2024). https:\/\/www.usenix.org\/conference\/usenixsecurity24\/presentation\/risse"},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","unstructured":"Elijah Rivera Samuel Mergendahl Howard E. Shrobe Hamed Okhravi and Nathan Burow. 2021. Keeping Safe Rust Safe with Galeed. In ACSAC \u201921: Annual Computer Security Applications Conference Virtual Event USA December 6 - 10 2021. 824\u2013836. https:\/\/doi.org\/10.1145\/3485832.3485903 10.1145\/3485832.3485903","DOI":"10.1145\/3485832.3485903"},{"key":"e_1_3_1_55_2","unstructured":"Rust-nomicon. 2024. The Rustonomicon. https:\/\/doc.rust-lang.org\/nomicon\/. Last accessed Jun. 2024."},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","unstructured":"Yifan Song Guoyin Wang Sujian Li and Bill Yuchen Lin. 2024. The Good The Bad and The Greedy: Evaluation of LLMs Should Not Ignore Non-Determinism. CoRR abs\/2407.10457 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2407.10457 10.48550\/ARXIV.2407.10457 arXiv:2407.10457","DOI":"10.48550\/ARXIV.2407.10457"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/3582688"},{"key":"e_1_3_1_58_2","doi-asserted-by":"publisher","unstructured":"Benjamin Steenhoek Md Mahbubur Rahman Richard Jiles and Wei Le. 2023. An Empirical Study of Deep Learning Models for Vulnerability Detection. In 45th IEEE\/ACM International Conference on Software Engineering ICSE 2023 Melbourne Australia May 14-20 2023. 2237\u20132248. https:\/\/doi.org\/10.1109\/ICSE48619.2023.00188 10.1109\/ICSE48619.2023.00188","DOI":"10.1109\/ICSE48619.2023.00188"},{"key":"e_1_3_1_59_2","doi-asserted-by":"publisher","unstructured":"Yuqiang Sun Daoyuan Wu Yue Xue Han Liu Wei Ma Lyuye Zhang Miaolei Shi and Yang Liu. 2024. LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs\u2019 Vulnerability Reasoning. CoRR abs\/2401.16185 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2401.16185 10.48550\/ARXIV.2401.16185 arXiv:2401.16185","DOI":"10.48550\/ARXIV.2401.16185"},{"key":"e_1_3_1_60_2","doi-asserted-by":"publisher","unstructured":"Yuqiang Sun Daoyuan Wu Yue Xue Han Liu Haijun Wang Zhengzi Xu Xiaofei Xie and Yang Liu. 2024. GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysis. (2024) 166:1\u2013166:13. https:\/\/doi.org\/10.1145\/3597503.3639117 10.1145\/3597503.3639117","DOI":"10.1145\/3597503.3639117"},{"key":"e_1_3_1_61_2","unstructured":"Alibaba Qwen Team. 2024. Qwen2 7B Instruct. https:\/\/huggingface.co\/Qwen\/Qwen2-7B-Instruct. Last accessed Jun. 2024."},{"key":"e_1_3_1_62_2","unstructured":"Alibaba Qwen Team. 2024. Qwen2.5-Coder 7B Instruct. https:\/\/huggingface.co\/Qwen\/Qwen2.5-Coder-7B-Instruct. Last accessed Jun. 2024."},{"key":"e_1_3_1_63_2","unstructured":"Meta Llama Team. 2024. Meta Llama3 8B Instruct. https:\/\/huggingface.co\/meta-llama\/Meta-Llama-3-8B-Instruct. Last accessed Jun. 2024."},{"key":"e_1_3_1_64_2","unstructured":"Rust Team. 2024. Mission Statement of the Secure Code Working Group. https:\/\/github.com\/rust-secure-code\/wg. Last accessed Jun. 2024."},{"key":"e_1_3_1_65_2","unstructured":"Rust Team. 2024. Rust Analyzer. https:\/\/rust-analyzer.github.io. Last accessed Jun. 2024."},{"key":"e_1_3_1_66_2","unstructured":"Rust Team. 2024. The Rust Standard Library. https:\/\/doc.rust-lang.org\/std. Last accessed Jun. 2024."},{"key":"e_1_3_1_67_2","unstructured":"Rust Team. 2024. Usafe Code Guidelines. https:\/\/rust-lang.github.io\/unsafe-code-guidelines\/. Last accessed Jun. 2024."},{"key":"e_1_3_1_68_2","doi-asserted-by":"publisher","unstructured":"S. M. Towhidul Islam Tonmoy S. M. Mehedi Zaman Vinija Jain Anku Rani Vipula Rawte Aman Chadha and Amitava Das. 2024. A Comprehensive Survey of Hallucination Mitigation Techniques in Large Language Models. CoRR abs\/2401.01313 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2401.01313 10.48550\/ARXIV.2401.01313 arXiv:2401.01313","DOI":"10.48550\/ARXIV.2401.01313"},{"key":"e_1_3_1_69_2","doi-asserted-by":"publisher","unstructured":"Saad Ullah Mingji Han Saurabh Pujar Hammond Pearce Ayse K. Coskun and Gianluca Stringhini. 2024. LLMs Cannot Reliably Identify and Reason About Security Vulnerabilities (Yet?): A Comprehensive Evaluation Framework and Benchmarks. In IEEE Symposium on Security and Privacy SP 2024 San Francisco CA USA May 19-23 2024. 862\u2013880. https:\/\/doi.org\/10.1109\/SP54263.2024.00210 10.1109\/SP54263.2024.00210","DOI":"10.1109\/SP54263.2024.00210"},{"key":"e_1_3_1_70_2","doi-asserted-by":"publisher","DOI":"10.1145\/3643762"},{"key":"e_1_3_1_71_2","doi-asserted-by":"publisher","unstructured":"Cunxiang Wang Xiaoze Liu Yuanhao Yue Xiangru Tang Tianhang Zhang Cheng Jiayang Yunzhi Yao Wenyang Gao Xuming Hu Zehan Qi Yidong Wang Linyi Yang Jindong Wang Xing Xie Zheng Zhang and Yue Zhang. 2023. Survey on Factuality in Large Language Models: Knowledge Retrieval and Domain-Specificity. CoRR abs\/2310.07521 (2023). https:\/\/doi.org\/10.48550\/ARXIV.2310.07521 10.48550\/ARXIV.2310.07521 arXiv:2310.07521","DOI":"10.48550\/ARXIV.2310.07521"},{"key":"e_1_3_1_72_2","unstructured":"Jason Wei Xuezhi Wang Dale Schuurmans Maarten Bosma Brian Ichter Fei Xia Ed H. Chi Quoc V. Le and Denny Zhou. 2022. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. (2022). http:\/\/papers.nips.cc\/paper_files\/paper\/2022\/hash\/9d5609613524ecf4f15af0f7b31abca4-Abstract-Conference.html"},{"key":"e_1_3_1_73_2","unstructured":"Noam Wies Yoav Levine and Amnon Shashua. 2023. The Learnability of In-Context Learning. (2023). http:\/\/papers.nips.cc\/paper_files\/paper\/2023\/hash\/73950f0eb4ac0925dc71ba2406893320-Abstract-Conference.html"},{"key":"e_1_3_1_74_2","doi-asserted-by":"publisher","DOI":"10.1145\/3466642"},{"key":"e_1_3_1_75_2","unstructured":"Eric Zelikman Qian Huang Gabriel Poesia Noah D. Goodman and Nick Haber. 2023. Parsel: Algorithmic Reasoning with Language Models by Composing Decompositions. (2023). http:\/\/papers.nips.cc\/paper_files\/paper\/2023\/hash\/6445dd88ebb9a6a3afa0b126ad87fe41-Abstract-Conference.html"},{"key":"e_1_3_1_76_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2023.3286586"},{"key":"e_1_3_1_77_2","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3613878"},{"key":"e_1_3_1_78_2","doi-asserted-by":"publisher","DOI":"10.1145\/3624738"},{"key":"e_1_3_1_79_2","doi-asserted-by":"publisher","unstructured":"Terry Yue Zhuo Minh Chien Vu Jenny Chim Han Hu Wenhao Yu Ratnadira Widyasari Imam Nur Bani Yusuf Haolan Zhan Junda He Indraneil Paul Simon Brunner Chen Gong Thong Hoang Armel Randy Zebaze Xiaoheng Hong Wen-Ding Li Jean Kaddour Ming Xu Zhihan Zhang Prateek Yadav Naman Jain Alex Gu Zhoujun Cheng Jiawei Liu Qian Liu Zijian Wang David Lo Binyuan Hui Niklas Muennighoff Daniel Fried Xiaoning Du Harm de Vries and Leandro von Werra. 2024. BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions. CoRR abs\/2406.15877 (2024). https:\/\/doi.org\/10.48550\/ARXIV.2406.15877 10.48550\/ARXIV.2406.15877 arXiv:2406.15877","DOI":"10.48550\/ARXIV.2406.15877"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3728890","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T13:49:05Z","timestamp":1787492945000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3728890"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,22]]},"references-count":78,"journal-issue":{"issue":"ISSTA","published-print":{"date-parts":[[2025,6,22]]}},"alternative-id":["10.1145\/3728890"],"URL":"https:\/\/doi.org\/10.1145\/3728890","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,22]]}}}