{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T22:01:07Z","timestamp":1784239267620,"version":"3.55.0"},"reference-count":28,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA","license":[{"start":{"date-parts":[[2020,11,13]],"date-time":"2020-11-13T00:00:00Z","timestamp":1605225600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2020,11,13]]},"abstract":"<jats:p>Solvers in the framework of Satisfiability Modulo Theories (SMT) have been widely successful in practice. Recently there has been an increasing interest in solvers for string constraints to address security issues in web programming, for example. To be practically useful, the solvers need to support an expressive constraint language over unbounded strings, and in particular, over string lengths. Satisfiability checking for these formulas, especially in the SMT context, is very hard; it is generally undecidable for a rich fragment. In this paper, we propose a form of dependency analysis for a rich fragment of string constraints including high-level operations such as length, contains to deal with their inter-theory interaction so as to solve them more efficiently. We implement our dependency analysis in the string theory of the Z3 solver to obtain a new one, called S3N. Finally, we demonstrate the superior performance of S3N over state-of-the-art string solvers such as Z3str3, CVC4, S3P, and Z3 on several large industrial-strength benchmarks.<\/jats:p>","DOI":"10.1145\/3428260","type":"journal-article","created":{"date-parts":[[2020,11,24]],"date-time":"2020-11-24T23:36:06Z","timestamp":1606260966000},"page":"1-27","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":5,"title":["Inter-theory dependency analysis for SMT string solvers"],"prefix":"10.1145","volume":"4","author":[{"given":"Minh-Thai","family":"Trinh","sequence":"first","affiliation":[{"name":"Advanced Digital Sciences Center, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Duc-Hiep","family":"Chu","sequence":"additional","affiliation":[{"name":"National University of Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Joxan","family":"Jaffar","sequence":"additional","affiliation":[{"name":"National University of Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,11,13]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3062341.3062384"},{"key":"e_1_2_2_2_1","volume-title":"Bui Phi Diep, Luk\u00e1\u0161 Hol\u00edk, and Petr Jank\u016f.","author":"Abdulla Parosh Aziz","year":"2019","unstructured":"Parosh Aziz Abdulla , Mohamed Faouzi Atig , Bui Phi Diep, Luk\u00e1\u0161 Hol\u00edk, and Petr Jank\u016f. 2019 . Chain-Free String Constraints. In Automated Technology for Verification and Analysis, Yu-Fang Chen, Chih-Hong Cheng, and Javier Esparza (Eds.). Springer International Publishing , Cham, 277-293. Parosh Aziz Abdulla, Mohamed Faouzi Atig, Bui Phi Diep, Luk\u00e1\u0161 Hol\u00edk, and Petr Jank\u016f. 2019. Chain-Free String Constraints. In Automated Technology for Verification and Analysis, Yu-Fang Chen, Chih-Hong Cheng, and Javier Esparza (Eds.). Springer International Publishing, Cham, 277-293."},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-70583-3_34"},{"key":"e_1_2_2_4_1","volume-title":"Automata-Based Model Counting for String Constraints","author":"Aydin Abdulbaki","unstructured":"Abdulbaki Aydin , Lucas Bang , and Tevfik Bultan . 2015. Automata-Based Model Counting for String Constraints . In Computer Aided Verification, Daniel Kroening and Corina S. P\u0103s\u0103reanu (Eds.). Springer International Publishing , Cham , 255-272. Abdulbaki Aydin, Lucas Bang, and Tevfik Bultan. 2015. Automata-Based Model Counting for String Constraints. In Computer Aided Verification, Daniel Kroening and Corina S. P\u0103s\u0103reanu (Eds.). Springer International Publishing, Cham, 255-272."},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.23919\/FMCAD.2017.8102241"},{"key":"e_1_2_2_6_1","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems","author":"Bj\u00f8rner Nikolaj","unstructured":"Nikolaj Bj\u00f8rner , Nikolai Tillmann , and Andrei Voronkov . 2009. Path Feasibility Analysis for String-Manipulating Programs . In Tools and Algorithms for the Construction and Analysis of Systems , Stefan Kowalewski and Anna Philippou (Eds.). Springer Berlin Heidelberg , Berlin, Heidelberg , 307-321. Nikolaj Bj\u00f8rner, Nikolai Tillmann, and Andrei Voronkov. 2009. Path Feasibility Analysis for String-Manipulating Programs. In Tools and Algorithms for the Construction and Analysis of Systems, Stefan Kowalewski and Anna Philippou (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 307-321."},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4613-8928-6_37"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3290362"},{"key":"e_1_2_2_9_1","first-page":"1","volume-title":"Proceedings of the 10th International Conference on Static Analysis (SAS'03)","author":"Christensen Aske Simon","unstructured":"Aske Simon Christensen , Anders M\u00f8ller , and Michael I. Schwartzbach . 2003. Precise Analysis of String Expressions . In Proceedings of the 10th International Conference on Static Analysis (SAS'03) . Springer-Verlag, Berlin, Heidelberg , 1 - 18 . Aske Simon Christensen, Anders M\u00f8ller, and Michael I. Schwartzbach. 2003. Precise Analysis of String Expressions. In Proceedings of the 10th International Conference on Static Analysis (SAS'03). Springer-Verlag, Berlin, Heidelberg, 1-18."},{"key":"e_1_2_2_10_1","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems","author":"de Moura Leonardo","unstructured":"Leonardo de Moura and Nikolaj Bj\u00f8rner . 2008. Z3: An Eficient SMT Solver . In Tools and Algorithms for the Construction and Analysis of Systems , C. R. Ramakrishnan and Jakob Rehof (Eds.). Springer Berlin Heidelberg , Berlin, Heidelberg , 337-340. Leonardo de Moura and Nikolaj Bj\u00f8rner. 2008. Z3: An Eficient SMT Solver. In Tools and Algorithms for the Construction and Analysis of Systems, C. R. Ramakrishnan and Jakob Rehof (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 337-340."},{"key":"e_1_2_2_11_1","volume-title":"HAMPI: A String Solver for Testing, Analysis and Vulnerability Detection","author":"Ganesh Vijay","year":"2011","unstructured":"Vijay Ganesh , Adam Kie\u017cun , Shay Artzi , Philip J. Guo , Pieter Hooimeijer , and Michael Ernst . 2011 . HAMPI: A String Solver for Testing, Analysis and Vulnerability Detection . In Computer Aided Verification, Ganesh Gopalakrishnan and Shaz Qadeer (Eds.). Springer Berlin Heidelberg , Berlin, Heidelberg , 1-19. Vijay Ganesh, Adam Kie\u017cun, Shay Artzi, Philip J. Guo, Pieter Hooimeijer, and Michael Ernst. 2011. HAMPI: A String Solver for Testing, Analysis and Vulnerability Detection. In Computer Aided Verification, Ganesh Gopalakrishnan and Shaz Qadeer (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 1-19."},{"key":"e_1_2_2_12_1","volume-title":"Hardware and Software: Verification and Testing","author":"Ganesh Vijay","unstructured":"Vijay Ganesh , Mia Minnes , Armando Solar-Lezama , and Martin Rinard . 2013. Word Equations with Length Constraints: What's Decidable? . In Hardware and Software: Verification and Testing , Armin Biere, Amir Nahir, and Tanja Vos (Eds.). Springer Berlin Heidelberg , Berlin, Heidelberg , 209-226. Vijay Ganesh, Mia Minnes, Armando Solar-Lezama, and Martin Rinard. 2013. Word Equations with Length Constraints: What's Decidable?. In Hardware and Software: Verification and Testing, Armin Biere, Amir Nahir, and Tanja Vos (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 209-226."},{"key":"e_1_2_2_13_1","volume-title":"Principles and Practice of Constraint Programming","author":"He Jun","unstructured":"Jun He , Pierre Flener , Justin Pearson , and Wei Ming Zhang . 2013. Solving String Constraints: The Case for Constraint Programming . In Principles and Practice of Constraint Programming , Christian Schulte (Ed.). Springer Berlin Heidelberg , Berlin, Heidelberg , 381-397. Jun He, Pierre Flener, Justin Pearson, and Wei Ming Zhang. 2013. Solving String Constraints: The Case for Constraint Programming. In Principles and Practice of Constraint Programming, Christian Schulte (Ed.). Springer Berlin Heidelberg, Berlin, Heidelberg, 381-397."},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158092"},{"key":"e_1_2_2_15_1","volume-title":"Computer Aided Verification","author":"Liang Tianyi","unstructured":"Tianyi Liang , Andrew Reynolds , Cesare Tinelli , Clark Barrett , and Morgan Deters . 2014. A DPLL(T) Theory Solver for a Theory of Strings and Regular Expressions . In Computer Aided Verification , Armin Biere and Roderick Bloem (Eds.). Springer International Publishing , Cham , 646-662. Tianyi Liang, Andrew Reynolds, Cesare Tinelli, Clark Barrett, and Morgan Deters. 2014. A DPLL(T) Theory Solver for a Theory of Strings and Regular Expressions. In Computer Aided Verification, Armin Biere and Roderick Bloem (Eds.). Springer International Publishing, Cham, 646-662."},{"key":"e_1_2_2_16_1","volume-title":"Lin and Rupak Majumdar","author":"Anthony","year":"2018","unstructured":"Anthony W. Lin and Rupak Majumdar . 2018 . Quadratic Word Equations with Length Constraints, Counter Systems, and Presburger Arithmetic with Divisibility. In Automated Technology for Verification and Analysis, Shuvendu K. Lahiri and Chao Wang (Eds.). Springer International Publishing , Cham, 352-369. Anthony W. Lin and Rupak Majumdar. 2018. Quadratic Word Equations with Length Constraints, Counter Systems, and Presburger Arithmetic with Divisibility. In Automated Technology for Verification and Analysis, Shuvendu K. Lahiri and Chao Wang (Eds.). Springer International Publishing, Cham, 352-369."},{"key":"e_1_2_2_17_1","doi-asserted-by":"crossref","unstructured":"G. S. Makanin. 1977. THE PROBLEM OF SOLVABILITY OF EQUATIONS IN A FREE SEMIGROUP. Mathematics of the USSR-Sbornik 32 2 ( 1977 ) 129.  G. S. Makanin. 1977. THE PROBLEM OF SOLVABILITY OF EQUATIONS IN A FREE SEMIGROUP. Mathematics of the USSR-Sbornik 32 2 ( 1977 ) 129.","DOI":"10.1070\/SM1977v032n02ABEH002376"},{"key":"e_1_2_2_18_1","unstructured":"OWASP. 2013. Top ten project. http:\/\/www.owasp.org\/.  OWASP. 2013. Top ten project. http:\/\/www.owasp.org\/."},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/2389836.2389853"},{"key":"e_1_2_2_20_1","volume-title":"High-Level Abstractions for Simplifying Extended String Constraints in SMT","author":"Reynolds Andrew","unstructured":"Andrew Reynolds , Andres N\u00f6tzli , Clark Barrett , and Cesare Tinelli . 2019. High-Level Abstractions for Simplifying Extended String Constraints in SMT . In Computer Aided Verification, Isil Dillig and Serdar Tasiran (Eds.). Springer International Publishing , Cham , 23-42. Andrew Reynolds, Andres N\u00f6tzli, Clark Barrett, and Cesare Tinelli. 2019. High-Level Abstractions for Simplifying Extended String Constraints in SMT. In Computer Aided Verification, Isil Dillig and Serdar Tasiran (Eds.). Springer International Publishing, Cham, 23-42."},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-63390-9_24"},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2010.38"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1555860.1555868"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2660267.2660372"},{"key":"e_1_2_2_25_1","volume-title":"Progressive Reasoning over Recursively-Defined Strings","author":"Trinh Minh-Thai","unstructured":"Minh-Thai Trinh , Duc-Hiep Chu , and Joxan Jafar . 2016. Progressive Reasoning over Recursively-Defined Strings . In Computer Aided Verification, Swarat Chaudhuri and Azadeh Farzan (Eds.). Springer International Publishing , Cham , 218-240. Minh-Thai Trinh, Duc-Hiep Chu, and Joxan Jafar. 2016. Progressive Reasoning over Recursively-Defined Strings. In Computer Aided Verification, Swarat Chaudhuri and Azadeh Farzan (Eds.). Springer International Publishing, Cham, 218-240."},{"key":"e_1_2_2_26_1","volume-title":"Model Counting for Recursively-Defined Strings","author":"Trinh Minh-Thai","unstructured":"Minh-Thai Trinh , Duc-Hiep Chu , and Joxan Jafar . 2017. Model Counting for Recursively-Defined Strings . In Computer Aided Verification, Rupak Majumdar and Viktor Kun\u010dak (Eds.). Springer International Publishing , Cham , 399-418. Minh-Thai Trinh, Duc-Hiep Chu, and Joxan Jafar. 2017. Model Counting for Recursively-Defined Strings. In Computer Aided Verification, Rupak Majumdar and Viktor Kun\u010dak (Eds.). Springer International Publishing, Cham, 399-418."},{"key":"e_1_2_2_27_1","volume-title":"Efective Search-Space Pruning for Solvers of String Equations, Regular Expressions and Length Constraints","author":"Zheng Yunhui","unstructured":"Yunhui Zheng , Vijay Ganesh , Sanu Subramanian , Omer Tripp , Julian Dolby , and Xiangyu Zhang . 2015. Efective Search-Space Pruning for Solvers of String Equations, Regular Expressions and Length Constraints . In Computer Aided Verification, Daniel Kroening and Corina S. P\u0103s\u0103reanu (Eds.). Springer International Publishing , Cham , 235-254. Yunhui Zheng, Vijay Ganesh, Sanu Subramanian, Omer Tripp, Julian Dolby, and Xiangyu Zhang. 2015. Efective Search-Space Pruning for Solvers of String Equations, Regular Expressions and Length Constraints. In Computer Aided Verification, Daniel Kroening and Corina S. P\u0103s\u0103reanu (Eds.). Springer International Publishing, Cham, 235-254."},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491411.2491456"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428260","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3428260","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T22:02:57Z","timestamp":1750197777000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428260"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,11,13]]},"references-count":28,"journal-issue":{"issue":"OOPSLA","published-print":{"date-parts":[[2020,11,13]]}},"alternative-id":["10.1145\/3428260"],"URL":"https:\/\/doi.org\/10.1145\/3428260","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,11,13]]},"assertion":[{"value":"2020-11-13","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}