{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T20:31:01Z","timestamp":1792787461591,"version":"4.5.0"},"reference-count":71,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA1","license":[{"start":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T00:00:00Z","timestamp":1775779200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"name":"Natural Science Foundation of China","award":["62402474;62132020;62202452;62090024"],"award-info":[{"award-number":["62402474;62132020;62202452;62090024"]}]},{"name":"China Postdoctoral Science Foundation","award":["2024M753295"],"award-info":[{"award-number":["2024M753295"]}],"id":[{"id":"https:\/\/ror.org\/0426zh255","id-type":"ROR","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,4,10]]},"abstract":"<jats:p>Context-free language (CFL) reachability is a fundamental framework widely used to model a variety of program analysis tasks, though it often suffers from inherent inefficiency due to its (sub)cubic time complexity.<\/jats:p>\n                  <jats:p>\n                    In this paper, we propose a novel perspective, relation chaining, which interprets CFL-reachability solving as the process of chaining labeled edges representing binary relations. This formulation exposes substantial derivation redundancy (in terms of frequent and repetitive chaining operations) arising from inefficient chaining strategies employed by existing approaches. To address this, we introduce\n                    <jats:sc>Squid<\/jats:sc>\n                    , a new algorithm that incorporates two simple yet effective chaining techniques\u2014adaptive chaining and differential chaining\u2014built upon an enhanced graph representation. We have implemented\n                    <jats:sc>Squid<\/jats:sc>\n                    as a standalone tool and evaluated it against two state-of-the-art CFL-reachability solvers and a leading Datalog solver across three key program analyses: field-sensitive alias analysis and context-sensitive value-flow analysis for C\/C++, and field-sensitive points-to analysis for Java. Experimental results show that\n                    <jats:sc>Squid<\/jats:sc>\n                    substantially improves the scalability of CFL-reachability solving by effectively reducing a large portion of redundant chaining operations.\n                  <\/jats:p>","DOI":"10.1145\/3798270","type":"journal-article","created":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T14:33:43Z","timestamp":1775831623000},"page":"1932-1960","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Context-Free Language Reachability via Efficient Relation Chaining"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0003-3055-8929","authenticated-orcid":false,"given":"Chenghang","family":"Shi","sequence":"first","affiliation":[{"name":"Institute of Computing Technology at Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-0931-8767","authenticated-orcid":false,"given":"Haofeng","family":"Li","sequence":"additional","affiliation":[{"name":"Institute of Computing Technology at Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4162-0404","authenticated-orcid":false,"given":"Jie","family":"Lu","sequence":"additional","affiliation":[{"name":"Institute of Computing Technology at Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4476-0541","authenticated-orcid":false,"given":"Lian","family":"Li","sequence":"additional","affiliation":[{"name":"Institute of Computing Technology at Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"},{"name":"Zhongguancun Laboratory, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,4,10]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","DOI":"10.5555\/551350"},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1075382.1075387"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3763129"},{"key":"e_1_3_1_5_1","doi-asserted-by":"crossref","unstructured":"Steven Arzt and Eric Bodden. 2014. Reviser: efficiently updating IDE-\/IFDS-based data-flow analyses in response to incremental program changes. In Proceedings of the 36th International Conference on Software Engineering. 288\u2013298.","DOI":"10.1145\/2568225.2568243"},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/2666356.2594299"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/6012.15399"},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/2775051.2676977"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/1167515.1167488"},{"key":"e_1_3_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1985793.1985827"},{"key":"e_1_3_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1640089.1640108"},{"key":"e_1_3_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158118"},{"key":"e_1_3_1_13_1","doi-asserted-by":"publisher","unstructured":"Swarat Chaudhuri. 2008. Subcubic algorithms for recursive state machines. In Proceedings of the 35th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages. 159\u2013169. doi:10.1145\/1328438.1328460","DOI":"10.1145\/1328438.1328460"},{"key":"e_1_3_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-44245-2_12"},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","unstructured":"Ben Hardekopf and Calvin Lin. 2007a. The ant and the grasshopper: fast and accurate pointer analysis for millions of lines of code. In Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation. 290\u2013299. doi:10.1145\/1273442.1250767","DOI":"10.1145\/1273442.1250767"},{"key":"e_1_3_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-74061-2_17"},{"key":"e_1_3_1_17_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00034"},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2022.30"},{"key":"e_1_3_1_19_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2024.18"},{"key":"e_1_3_1_20_1","unstructured":"Jelle Hellings. 2014. Conjunctive Context-Free Path Queries.. In ICDT. 119\u2013130."},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-46663-6_10"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-41540-6_23"},{"key":"e_1_3_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/996893.996867"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2004.1281665"},{"key":"e_1_3_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3656451"},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563343"},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3591233"},{"key":"e_1_3_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3689804"},{"key":"e_1_3_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2025113.2025160"},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2555670.2466483"},{"key":"e_1_3_1_31_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2016.15"},{"key":"e_1_3_1_32_1","doi-asserted-by":"publisher","unstructured":"Yuanbo Li Qirun Zhang and Thomas Reps. 2020. Fast graph simplification for interleaved Dyck-reachability. In Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation. 780\u2013793. doi:10.1145\/3385412.3386021","DOI":"10.1145\/3385412.3386021"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3492428"},{"key":"e_1_3_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3571228"},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(00)00049-9"},{"key":"e_1_3_1_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-94-015-9719-7_6"},{"key":"e_1_3_1_37_1","doi-asserted-by":"publisher","DOI":"10.1109\/SCAM.2003.1238026"},{"key":"e_1_3_1_38_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2009.9"},{"key":"e_1_3_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/360204.360208"},{"key":"e_1_3_1_40_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0950-5849(98)00093-7"},{"key":"e_1_3_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/345099.345137"},{"key":"e_1_3_1_42_1","doi-asserted-by":"publisher","unstructured":"Thomas Reps Susan Horwitz and Mooly Sagiv. 1995. Precise interprocedural dataflow analysis via graph reachability. In Proceedings of the 22nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages. 49\u201361. doi:10.1145\/199448.199462","DOI":"10.1145\/199448.199462"},{"key":"e_1_3_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/349299.349310"},{"key":"e_1_3_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/3763065"},{"key":"e_1_3_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3650212.3680346"},{"key":"e_1_3_1_46_1","doi-asserted-by":"publisher","unstructured":"Chenghang Shi Haofeng Li Jie Lu and Lian Li. 2026. Artifact of \u201cContext-Free Language Reachability via Efficient Relation Chaining\u201d. (2026). doi:10.6084\/m9.figshare.30330334.v3","DOI":"10.6084\/m9.figshare.30330334.v3"},{"key":"e_1_3_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE56229.2023.00118"},{"key":"e_1_3_1_48_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3437684"},{"key":"e_1_3_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563339"},{"key":"e_1_3_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/3192366.3192418"},{"key":"e_1_3_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3485540"},{"key":"e_1_3_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/3290361"},{"key":"e_1_3_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/1133981.1134027"},{"key":"e_1_3_1_54_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-03237-0_15"},{"key":"e_1_3_1_55_1","doi-asserted-by":"publisher","unstructured":"Manu Sridharan Stephen J Fink and Rastislav Bodik. 2007. Thin slicing. In Proceedings of the 28th ACM SIGPLAN conference on programming language design and implementation. 112\u2013122. doi:10.1145\/1250734.1250748","DOI":"10.1145\/1250734.1250748"},{"key":"e_1_3_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094811.1094817"},{"key":"e_1_3_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/2892208.2892235"},{"key":"e_1_3_1_58_1","doi-asserted-by":"publisher","unstructured":"Yulei Sui Ding Ye and Jingling Xue. 2012. Static memory leak detection using full-sparse value-flow analysis. In Proceedings of the 2012 International Symposium on Software Testing and Analysis. 254\u2013264. doi:10.1145\/2338965.2336784","DOI":"10.1145\/2338965.2336784"},{"key":"e_1_3_1_59_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2014.2302311"},{"key":"e_1_3_1_60_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598120"},{"key":"e_1_3_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/3062341.3062359"},{"key":"e_1_3_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/3037697.3037744"},{"key":"e_1_3_1_63_1","first-page":"439","volume-title":"Proceedings of the 5th International Conference on Software Engineering (San Diego, California, USA) (ICSE \u201981)","author":"Weiser Mark","year":"1981","unstructured":"Mark Weiser. 1981. Program slicing. In Proceedings of the 5th International Conference on Software Engineering (San Diego, California, USA) (ICSE \u201981). IEEE Press, 439\u2013449."},{"key":"e_1_3_1_64_1","unstructured":"James O. Westgard. n.d.. Lesson 34: What is an acceptable CV? https:\/\/westgard.com\/lessons\/z-stats-basic-statistics\/lesson34.html Accessed: 2025-01-12."},{"key":"e_1_3_1_65_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-03013-0_6"},{"key":"e_1_3_1_66_1","doi-asserted-by":"publisher","DOI":"10.1145\/3649862"},{"key":"e_1_3_1_67_1","doi-asserted-by":"publisher","unstructured":"Mihalis Yannakakis. 1990. Graph-theoretic methods in database theory. In Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems. 230\u2013242. doi:10.1145\/298514.298576","DOI":"10.1145\/298514.298576"},{"key":"e_1_3_1_68_1","doi-asserted-by":"publisher","DOI":"10.1145\/3656400"},{"key":"e_1_3_1_69_1","doi-asserted-by":"publisher","unstructured":"Qirun Zhang Michael R Lyu Hao Yuan and Zhendong Su. 2013. Fast algorithms for Dyck-CFL-reachability with applications to alias analysis. In Proceedings of the 34th ACM SIGPLAN conference on Programming language design and implementation. 435\u2013446. doi:10.1145\/2491956.2462159","DOI":"10.1145\/2491956.2462159"},{"key":"e_1_3_1_70_1","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009848"},{"key":"e_1_3_1_71_1","doi-asserted-by":"publisher","unstructured":"Qirun Zhang Xiao Xiao Charles Zhang Hao Yuan and Zhendong Su. 2014. Efficient subcubic alias analysis for C. In Proceedings of the 2014 ACM International Conference on Object Oriented Programming Systems Languages & Applications. 829\u2013845. doi:10.1145\/2660193.2660213","DOI":"10.1145\/2660193.2660213"},{"key":"e_1_3_1_72_1","doi-asserted-by":"publisher","unstructured":"Xin Zheng and Radu Rugina. 2008. Demand-driven alias analysis for C. In Proceedings of the 35th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages. 197\u2013208. doi:10.1145\/1328438.1328464","DOI":"10.1145\/1328438.1328464"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3798270","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T11:23:14Z","timestamp":1790421794000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3798270"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,10]]},"references-count":71,"journal-issue":{"issue":"OOPSLA1","published-print":{"date-parts":[[2026,4,10]]}},"alternative-id":["10.1145\/3798270"],"URL":"https:\/\/doi.org\/10.1145\/3798270","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4,10]]},"assertion":[{"value":"2025-10-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-02-17","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-10","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}