{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T10:29:34Z","timestamp":1790936974038,"version":"4.1.0"},"reference-count":47,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2025,1,24]],"date-time":"2025-01-24T00:00:00Z","timestamp":1737676800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100000038","name":"Natural Sciences and Engineering Research Council of Canada","doi-asserted-by":"crossref","award":["WHJIL, and CFI-JELF Project #40736"],"award-info":[{"award-number":["WHJIL, and CFI-JELF Project #40736"]}],"id":[{"id":"10.13039\/501100000038","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2025,2,28]]},"abstract":"<jats:p>Program reduction strives to eliminate bug-irrelevant code elements from a bug-triggering program, so that (1) a smaller and more straightforward bug-triggering program can be obtained, (2) and the difference among duplicates (i.e., different programs that trigger the same bug) can be minimized or even eliminated. With such reduction and canonicalization functionality, program reduction facilitates debugging for software, especially language toolchains, such as compilers, interpreters, and debuggers. While many program reduction techniques have been proposed, most of them (especially the language-agnostic ones) overlooked the potential reduction opportunities hidden within tokens. Therefore, their capabilities in terms of reduction and canonicalization are significantly restricted.<\/jats:p>\n          <jats:p>\n            To fill this gap, we propose\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{T}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            -\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{Rec}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            , a fine-grained language-agnostic program reduction technique guided by lexical syntax. Instead of treating tokens as atomic and irreducible components,\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{T}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            -\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{Rec}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            introduces a fine-grained reduction process that leverages the lexical syntax of programming languages to effectively explore the reduction opportunities in tokens. Through comprehensive evaluations with versatile benchmark suites, we demonstrate that\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{T}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            -\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{Rec}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            significantly improves the reduction and canonicalization capability of two existing language-agnostic program reducers (i.e., Perses and Vulcan).\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{T}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            -\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{Rec}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            enables Perses and Vulcan to further eliminate 1,294 and 1,315 duplicates in a benchmark suite that contains 3,796 test cases that trigger 46 unique bugs. Additionally,\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{T}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            -\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\mathsf{Rec}\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            can also reduce up to 65.52% and 53.73% bytes in the results of Perses and Vulcan on our multi-lingual benchmark suite, respectively.\n          <\/jats:p>","DOI":"10.1145\/3690631","type":"journal-article","created":{"date-parts":[[2024,8,30]],"date-time":"2024-08-30T14:17:45Z","timestamp":1725027465000},"page":"1-31","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":10,"title":["T-Rec: Fine-Grained Language-Agnostic Program Reduction Guided by Lexical Syntax"],"prefix":"10.1145","volume":"34","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9451-4031","authenticated-orcid":false,"given":"Zhenyang","family":"Xu","sequence":"first","affiliation":[{"name":"University of Waterloo, Waterloo, ON, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1644-2965","authenticated-orcid":false,"given":"Yongqiang","family":"Tian","sequence":"additional","affiliation":[{"name":"The Hong Kong University of Science and Technology, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3463-2802","authenticated-orcid":false,"given":"Mengxiao","family":"Zhang","sequence":"additional","affiliation":[{"name":"University of Waterloo, Waterloo, ON, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-7663-6207","authenticated-orcid":false,"given":"Jiarui","family":"Zhang","sequence":"additional","affiliation":[{"name":"University of Waterloo, Waterloo, ON, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8995-5924","authenticated-orcid":false,"given":"Puzhuo","family":"Liu","sequence":"additional","affiliation":[{"name":"Ant Group, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0955-503X","authenticated-orcid":false,"given":"Yu","family":"Jiang","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0862-2491","authenticated-orcid":false,"given":"Chengnian","family":"Sun","sequence":"additional","affiliation":[{"name":"University of Waterloo, Waterloo, ON, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,1,24]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"ANTLR. 2017. The ANTLR Parser Generator. Retrieved September 20 2022 from https:\/\/www.antlr.org\/"},{"key":"e_1_3_2_3_2","volume-title":"Proceedings of the 26th Annual Network and Distributed System Security Symposium (NDSS \u201919)","author":"Aschermann Cornelius","year":"2019","unstructured":"Cornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig, Ahmad-Reza Sadeghi, and Daniel Teuchert. 2019. NAUTILUS: Fishing for deep bugs with grammars. In Proceedings of the 26th Annual Network and Distributed System Security Symposium (NDSS \u201919). The Internet Society. Retrieved from https:\/\/www.ndss-symposium.org\/ndss-paper\/nautilus-fishing-for-deep-bugs-with-grammars\/"},{"key":"e_1_3_2_4_2","first-page":"197","volume-title":"Proceedings of the 2013 ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI \u201913)","author":"Chen Yang","year":"2013","unstructured":"Yang Chen, Alex Groce, Chaoqiang Zhang, Weng-Keen Wong, Xiaoli Fern, Eric Eide, and John Regehr. 2013. Taming compiler fuzzers. In Proceedings of the 2013 ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI \u201913), 197\u2013208."},{"key":"e_1_3_2_5_2","first-page":"65","volume-title":"Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI \u201915)","author":"Chong Nathan","year":"2015","unstructured":"Nathan Chong, Alastair Donaldson, Andrei Lascu, and Christopher Lidbury. 2015. Many-core compiler fuzzing. In Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI \u201915), 65\u201376."},{"key":"e_1_3_2_6_2","unstructured":"CPython. 2022. Bug Report. Retrieved September 20 2022 from https:\/\/github.com\/python\/cpython\/issues\/new?assignees={&}labels=type-bug{&}template=bug.md"},{"key":"e_1_3_2_7_2","unstructured":"Alastair Donaldson and David MacIver. 2021. Test Case Reduction: Beyond Bugs. Retrieved May 29 2023 from https:\/\/blog.sigplan.org\/2021\/05\/25\/test-case-reduction-beyond-bugs"},{"key":"e_1_3_2_8_2","unstructured":"GCC. 2020. A Guide to Testcase Reduction. Retrieved October 28 2022 from https:\/\/gcc.gnu.org\/wiki\/A_guide_to_testcase_reduction"},{"key":"e_1_3_2_9_2","unstructured":"GCC-Wiki. 2020. A Guide to Testcase Reduction. Retrieved September 20 2022 from https:\/\/gcc.gnu.org\/wiki\/A_guide_to_testcase_reduction"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598065"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/3395363.3397349"},{"key":"e_1_3_2_12_2","unstructured":"Rahul Gopinath Alexander Kampmann Nikolas Havrikov Ezekiel O. Soremekun and Andreas Zeller. 2020b. The DDSET Github Repo. Retrieved June 20 2024 from https:\/\/github.com\/vrthra\/ddset"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/3092703.3092704"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/3243734.3243838"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1145\/2994291.2994296"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2017.26"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3278186.3278193"},{"key":"e_1_3_2_18_2","unstructured":"JerryScript. 2022. Bug Report. Retrieved September 20 2022 from https:\/\/github.com\/jerryscript-project\/jerryscript\/blob\/master\/.github\/ISSUE_TEMPLATE\/bug_report.md"},{"key":"e_1_3_2_19_2","unstructured":"JS Delta. 2017. JS Delta. Retrieved October 28 2022 from https:\/\/github.com\/wala\/jsdelta"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/3338906.3338956"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/3453483.3454091"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3278186.3278189"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-81688-9_11"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","unstructured":"Vu Le Mehrdad Afshari and Zhendong Su. 2014. Compiler validation via equivalence modulo inputs. 216\u2013226. DOI: 10.1145\/2594291.2594334","DOI":"10.1145\/2594291.2594334"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3600006.3613140"},{"key":"e_1_3_2_26_2","first-page":"1","volume-title":"Proceedings of the ACM on Programming Languages","volume":"4","author":"Livinskii Vsevolod","year":"2020","unstructured":"Vsevolod Livinskii, Dmitry Babokin, and John Regehr. 2020. Random testing for C and C++ compilers with YARPGen. Proceedings of the ACM on Programming Languages 4, OOPSLA (2020), 1\u201325."},{"key":"e_1_3_2_27_2","unstructured":"LLVM. 2022. How to Submit an LLVM Bug Report. Retrieved September 20 2022 from https:\/\/llvm.org\/docs\/HowToSubmitABug.html"},{"key":"e_1_3_2_28_2","volume-title":"Proceedings of the 34th European Conference on Object-Oriented Programming (ECOOP \u201920)","author":"MacIver David R.","year":"2020","unstructured":"David R. MacIver and Alastair F. Donaldson. 2020. Test-case reduction via test-case generation: Insights from the hypothesis reducer (tool insights paper). In Proceedings of the 34th European Conference on Object-Oriented Programming (ECOOP \u201920). Schloss-Dagstuhl-Leibniz Zentrum f\u00fcr Informatik."},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/1134285.1134307"},{"key":"e_1_3_2_30_2","first-page":"8","volume-title":"Proceedings of the 11th International Workshop on Satisfiability Modulo Theories, SMT","author":"Niemetz Aina","year":"2013","unstructured":"Aina Niemetz and Armin Biere. 2013. ddSMT: A delta debugger for the SMT-LIB v2 format. In Proceedings of the 11th International Workshop on Satisfiability Modulo Theories, SMT, 8\u20139."},{"key":"e_1_3_2_31_2","unstructured":"John Regehr. 2019. Design and Evolution of C-Reduce. Retrieved January 20 2024 from https:\/\/blog.regehr.org\/archives\/1679"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/2254064.2254104"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3368089.3409710"},{"key":"e_1_3_2_34_2","unstructured":"Rust. 2024. Finding a Minimal Standalone Example. Retrieved Januray 20 2024 from https:\/\/rustc-dev-guide.rust-lang.org\/notification-groups\/cleanup-crew.html#finding-a-minimal-standalone-example"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1145\/3460319.3464814"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/2983990.2984038"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180236"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/3617172"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1145\/3548659.3561314"},{"key":"e_1_3_2_40_2","doi-asserted-by":"crossref","first-page":"60","DOI":"10.1109\/AST52587.2021.00015","volume-title":"Proceedings of the 2021 IEEE\/ACM International Conference on Automation of Software Test (AST)","author":"Vince D\u00e1niel","year":"2021","unstructured":"D\u00e1niel Vince, Ren\u00e1ta Hodov\u00e1n, Daniella B\u00e1rsony, and \u00c1kos Kiss. 2021. Extending hierarchical delta debugging with hoisting. In Proceedings of the 2021 IEEE\/ACM International Conference on Automation of Software Test (AST). IEEE, 60\u201369."},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3468264.3468625"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4612-4380-9_16"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3385985"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3586049"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/1993498.1993532"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1109\/32.988498"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3650212.3652126"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616275"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3690631","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3690631","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T01:19:10Z","timestamp":1750295950000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3690631"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,1,24]]},"references-count":47,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2025,2,28]]}},"alternative-id":["10.1145\/3690631"],"URL":"https:\/\/doi.org\/10.1145\/3690631","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,1,24]]},"assertion":[{"value":"2024-02-08","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-08-10","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-01-24","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}