{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T11:37:27Z","timestamp":1791459447426,"version":"4.3.4"},"reference-count":35,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2024,7,12]],"date-time":"2024-07-12T00:00:00Z","timestamp":1720742400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62372218"],"award-info":[{"award-number":["62372218"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Shenzhen Science and Technology Program","award":["SGDX20201103095408029"],"award-info":[{"award-number":["SGDX20201103095408029"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2024,7,12]]},"abstract":"<jats:p>\n                    As a powerful tool for developers, interactive debuggers help locate and fix errors in software. By using debugging information included in binaries, debuggers can retrieve necessary program states about the program. Unlike\n                    <jats:monospace>printf<\/jats:monospace>\n                    -style debugging, debuggers allow for more flexible inspection and modification of program execution states. However, debuggers may incorrectly retrieve and interpret program execution, causing confusion and hindering the debugging process.\n                  <\/jats:p>\n                  <jats:p>\n                    Despite the wide usage of interactive debuggers,\n                    <jats:italic toggle=\"yes\">a scalable and comprehensive measurement of their functionality correctness<\/jats:italic>\n                    does not exist yet. Existing works either fall short in scalability or focus more on the \u201ccompiler\u2014side\u201d defects instead of debugger bugs. To facilitate a better assessment of debugger correctness, we first propose and advocate a set of debugger testing criteria, covering both comprehensiveness (in terms of debug information covered) and scalability (in terms of testing overhead). Moreover, we design comparative experiments to show that fulfilling these criteria is not only theoretically appealing, but also brings major improvement to debugger testing. Furthermore, based on these criteria, we present DTD, a differential testing (DT) framework for detecting bugs in interactive debuggers. DTD compares the behaviors of two mainstream debuggers when processing an identical C executable \u2014 discrepancies indicate bugs in one of the two debuggers.\n                  <\/jats:p>\n                  <jats:p>DTD leverages a novel heuristic method to avoid the repetitive structures (e.g., loops) that exist in C programs, which facilitates DTD to achieve full debug information coverage efficiently. Moreover, we have also designed a Temporal Differential Filtering method to practically filter out the false positives caused by the uninitialized variables in common C programs. With these carefully designed techniques, DTD fulfills our proposed testing requirements and, therefore, achieves high scalability and testing comprehensiveness. For the first time, it offers large-scale testing for C debuggers to detect debugger behavior discrepancies when inspecting millions of program states. An empirical comparison shows that DTD finds 17\u00d7 more errortriggering cases and detects 5\u00d7 more bugs than the state-of-the-art debugger testing technique. We have used DTD to detect 13 bugs in the LLVM toolchain (Clang\/LLDB) and 5 bugs in the GNU toolchain (GCC\/GDB). One of our fixes has already landed in the latest LLDB development branch.<\/jats:p>","DOI":"10.1145\/3643779","type":"journal-article","created":{"date-parts":[[2024,7,12]],"date-time":"2024-07-12T10:22:09Z","timestamp":1720779729000},"page":"1172-1193","source":"Crossref","is-referenced-by-count":3,"title":["DTD: Comprehensive and Scalable Testing for Debuggers"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6864-5409","authenticated-orcid":false,"given":"Hongyi","family":"Lu","sequence":"first","affiliation":[{"name":"Southern University of Science and Technology, Shenzhen, China"},{"name":"Hong Kong University of Science and Technology, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7872-1129","authenticated-orcid":false,"given":"Zhibo","family":"Liu","sequence":"additional","affiliation":[{"name":"Hong Kong University of Science and Technology, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0866-0308","authenticated-orcid":false,"given":"Shuai","family":"Wang","sequence":"additional","affiliation":[{"name":"Hong Kong University of Science and Technology, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3365-2526","authenticated-orcid":false,"given":"Fengwei","family":"Zhang","sequence":"additional","affiliation":[{"name":"Southern University of Science and Technology, Shenzhen, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,7,12]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","unstructured":"Cristian Assaiante Daniele Cono D'Elia Giuseppe Antonio Di Luna and Leonardo Querzoni. 2023. Where Did My Variable Go? Poking Holes in Incomplete Debug Information. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems Volume 2 (Vancouver BC Canada) (ASPLOS 2023). Association for Computing Machinery New York NY USA 935-947. https:\/\/doi.org\/10.1145\/3575693.3575720 10.1145\/3575693.3575720","DOI":"10.1145\/3575693.3575720"},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3178372.3179521"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3363562"},{"key":"e_1_3_1_5_1","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2002.12543"},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","unstructured":"Yuting Chen Ting Su and Zhendong Su. 2019. Deep differential testing of JVM implementations. In 2019 IEEE\/ACM 41st International Conference on Software Engineering (ICSE). IEEE 1257-1268. https:\/\/doi.org\/10.1109\/ICSE.2019.00127 10.1109\/ICSE.2019.00127","DOI":"10.1109\/ICSE.2019.00127"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","unstructured":"Yuting Chen Ting Su Chengnian Sun Zhendong Su and Jianjun Zhao. 2016. Coverage-directed differential testing of JVM implementations. In proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation. 85-99. https:\/\/doi.org\/10.1145\/2908080.2908095 10.1145\/2908080.2908095","DOI":"10.1145\/2908080.2908095"},{"key":"e_1_3_1_8_1","unstructured":"Weidong Cui Xinyang Ge Baris Kasikci Ben Niu Upamanyu Sharma Ruoyu Wang and Insu Yun. 2018. REPT: Reverse Debugging of Failures in Deployed Software. In 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18). USENIX Association Carlsbad CA 17-32. https:\/\/www.usenix.org\/conference\/osdi18\/presentation\/weidong"},{"key":"e_1_3_1_9_1","unstructured":"Albert Danial 2021. cloc. https:\/\/github.com\/AlDanial\/cloc"},{"key":"e_1_3_1_10_1","doi-asserted-by":"publisher","unstructured":"Giuseppe Antonio Di Luna Davide Italiano Luca Massarelli Sebastian Osterlund Cristiano Giuffrida and Leonardo Querzoni. 2021. Who's Debugging the Debuggers? Exposing Debug Information Bugs in Optimized Binaries. In Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (Virtual USA) (ASPLOS 21). Association for Computing Machinery New York NY USA 1034-1045. https:\/\/doi.org\/10.1145\/3445814.3446695 10.1145\/3445814.3446695","DOI":"10.1145\/3445814.3446695"},{"key":"e_1_3_1_11_1","unstructured":"DTD. 2023. DTD: Supplementary Website. https:\/\/sites.google.com\/view\/dtd-supplementary\/"},{"key":"e_1_3_1_12_1","doi-asserted-by":"publisher","DOI":"10.14778\/3357377.3357382"},{"key":"e_1_3_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/2666356.2594334"},{"key":"e_1_3_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/2858965.2814319"},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/3236024.3236037"},{"key":"e_1_3_1_16_1","doi-asserted-by":"publisher","unstructured":"Xavier Leroy. 2009. Formal Verification of a Realistic Compiler. Commun. ACM 52 7 (jul 2009) 107-115. https:\/\/doi.org\/10.1145\/1538788.1538814 10.1145\/1538788.1538814","DOI":"10.1145\/1538788.1538814"},{"key":"e_1_3_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3582016.3582053"},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3386020"},{"key":"e_1_3_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598068"},{"key":"e_1_3_1_20_1","unstructured":"LLVM. 2023. The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. https:\/\/github.com\/llvm\/llvm-project"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3489517.3530583"},{"issue":"1","key":"e_1_3_1_22_1","first-page":"100","article-title":"Differential testing for software. Digital Technical","volume":"10","author":"William M. McKeeman","year":"1998","unstructured":"William M. McKeeman 1998 Differential testing for software. Digital Technical Journal 10, 1 (1998), 100-107.","journal-title":"Journal"},{"key":"e_1_3_1_23_1","article-title":"Ninja: Towards Transparent Tracing and Debugging on ARM","author":"Ning Zhenyu","year":"2017","unstructured":"Zhenyu Ning and Fengwei Zhang. 2017. Ninja: Towards Transparent Tracing and Debugging on ARM. In Proceedings of The 26th USENIX Security Symposium (USENIX-Security 17). https:\/\/www.usenix.org\/conference\/usenixsecurity17\/technical-sessions\/presentation\/ning","journal-title":"Proceedings of The 26th USENIX Security Symposium (USENIX-Security 17)"},{"key":"e_1_3_1_24_1","unstructured":"Radare. 2023. Radare2: UNIX-like reverse engineering framework and command-line toolset. https:\/\/github.com\/radareorg\/radare2"},{"key":"e_1_3_1_25_1","doi-asserted-by":"crossref","first-page":"335","DOI":"10.1145\/2254064.2254104","article-title":"Test-case reduction for C compiler bugs","author":"Regehr John","year":"2012","unstructured":"John Regehr, Yang Chen, Pascal Cuoq, Eric Eide, Chucky Ellison, and Xuejun Yang. 2012. Test-case reduction for C compiler bugs. In Proceedings of the 33rd ACM SIGPLAN conference on Programming Language Design and Implementation. 335-346.","journal-title":"Proceedings of the 33rd ACM SIGPLAN conference on Programming Language Design and Implementation"},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3368089.3409710"},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/2983990.2984038"},{"key":"e_1_3_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/2931037.2931074"},{"key":"e_1_3_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3503222.3507764"},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3293882.3330567"},{"key":"e_1_3_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3575693.3575740"},{"key":"e_1_3_1_32_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE48619.2023.00201"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3508035"},{"key":"e_1_3_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/1993316.1993532"},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2015.11"},{"key":"e_1_3_1_36_1","doi-asserted-by":"crossref","unstructured":"Yiming Zhang Yuxin Hu Haonan Li Wenxuan Shi Zhenyu Ning Xiapu Luo and Fengwei Zhang. 2023. Alligator in Vest: A Practical Failure-Diagnosis Framework via Arm Hardware Features. 917-928. https:\/\/doi.org\/10.1145\/3597926.3598106","DOI":"10.1145\/3597926.3598106"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3643779","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3643779","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T08:01:40Z","timestamp":1770192100000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3643779"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,7,12]]},"references-count":35,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2024,7,12]]}},"alternative-id":["10.1145\/3643779"],"URL":"https:\/\/doi.org\/10.1145\/3643779","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,7,12]]}}}