{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,13]],"date-time":"2026-02-13T23:10:32Z","timestamp":1771024232909,"version":"3.50.1"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2013,10,1]],"date-time":"2013-10-01T00:00:00Z","timestamp":1380585600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2013,10]]},"abstract":"<jats:p>We propose a novel technique for statically verifying the strings generated by a program. The verification is conducted by encoding the program in Monadic Second-order Logic (M2L). We use M2L to describe constraints among program variables and to abstract built-in string operations. Once we encode a program in M2L, a theorem prover for M2L, such as MONA, can automatically check if a string generated by the program satisfies a given specification, and if not, exhibit a counterexample. With this approach, we can naturally encode relationships among strings, accounting also for cases in which a program manipulates strings using indices. In addition, our string analysis is path sensitive in that it accounts for the effects of string and Boolean comparisons, as well as regular-expression matches.<\/jats:p>\n          <jats:p>\n            We have implemented our string analysis algorithm, and used it to augment an industrial security analysis for Web applications by automatically detecting and verifying\n            <jats:italic>sanitizers<\/jats:italic>\n            \u2014methods that eliminate malicious patterns from untrusted strings, making these strings safe to use in security-sensitive operations. On the 8 benchmarks we analyzed, our string analyzer discovered 128 previously unknown sanitizers, compared to 71 sanitizers detected by a previously presented string analysis.\n          <\/jats:p>","DOI":"10.1145\/2522920.2522926","type":"journal-article","created":{"date-parts":[[2013,10,17]],"date-time":"2013-10-17T12:23:34Z","timestamp":1382012614000},"page":"1-33","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":33,"title":["Path- and index-sensitive string analysis based on monadic second-order logic"],"prefix":"10.1145","volume":"22","author":[{"given":"Takaaki","family":"Tateishi","sequence":"first","affiliation":[{"name":"IBM Research - Tokyo, Japan"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Marco","family":"Pistoia","sequence":"additional","affiliation":[{"name":"IBM T. J. Waton Research Center, Yorktown Heights, NY"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Omer","family":"Tripp","sequence":"additional","affiliation":[{"name":"IBM Software Group and Tel Aviv University, Israel"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2013,10,22]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.5555\/647769.733962"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2008.22"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-00768-2_27"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2007.17"},{"key":"e_1_2_1_5_1","unstructured":"Christensen A. S. Feldthaus A. and M\u00f8ller A. 2009. JSA -- The java string analyzer. http:\/\/www.brics.dk\/JSA.  Christensen A. S. Feldthaus A. and M\u00f8ller A. 2009. JSA -- The java string analyzer. http:\/\/www.brics.dk\/JSA."},{"key":"e_1_2_1_6_1","volume-title":"Proceedings of the International Static Analysis Symposium (SAS'03)","author":"Christensen A. S."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/224164.224199"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/115372.115320"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/371316.371512"},{"key":"e_1_2_1_10_1","volume-title":"Proceedings of the 22nd International Conference on Software Engineering and Knowledge Engineering (SEKE'10)","author":"Fu X."},{"key":"e_1_2_1_11_1","volume-title":"Proceedings of the 23rd International Conference of Computer Aided Verification (CAV'11)","author":"Ganesh V."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2009.5070519"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/506315.506316"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/263698.264352"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/1375696.1375704"},{"key":"e_1_2_1_16_1","volume-title":"Proceedings of the 1st International Workshop on Tools and Algorithms for Construction and Analysis of Systems (TACAS'95)","author":"Henriksen J. G."},{"key":"e_1_2_1_17_1","volume-title":"Proceedings of the 20th USENIX Conference on Security (SEC'11)","author":"Hooimeijer P."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1542476.1542498"},{"key":"e_1_2_1_19_1","unstructured":"IBM. 2013. Rational appscan source edition. http:\/\/www.ibm.com\/software\/rational\/products\/appscan\/source.  IBM. 2013. Rational appscan source edition. http:\/\/www.ibm.com\/software\/rational\/products\/appscan\/source."},{"key":"e_1_2_1_20_1","first-page":"3","article-title":"Regular models of phonological rule systems","volume":"20","author":"Kay M.","year":"1994","journal-title":"Comput. Linguist."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/1572272.1572286"},{"key":"e_1_2_1_22_1","unstructured":"Kiezun A. Guo P. J. Jayaraman K. and Ernst M. D. 2009b. Automatic creation of sql injection and cross-site scripting attacks. http:\/\/dspace.mit.edu\/bitstream\/handle\/1721.1\/42836\/MIT-CSAIL-TR-2008-054.pdf&quest;sequence=1.  Kiezun A. Guo P. J. Jayaraman K. and Ernst M. D. 2009b. Automatic creation of sql injection and cross-site scripting attacks. http:\/\/dspace.mit.edu\/bitstream\/handle\/1721.1\/42836\/MIT-CSAIL-TR-2008-054.pdf&quest;sequence=1."},{"key":"e_1_2_1_23_1","unstructured":"Klarlund N. and M\u00f8ller A. 2001. MONA version 1.4 user manual. BRICS. Notes series NS-01-1. http:\/\/www.brics.dk\/mona.  Klarlund N. and M\u00f8ller A. 2001. MONA version 1.4 user manual. BRICS. Notes series NS-01-1. http:\/\/www.brics.dk\/mona."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/1542476.1542485"},{"key":"e_1_2_1_25_1","volume-title":"Proceedings of the 14th USENIX Security Symposium.","author":"Livshits V. B."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-93900-9_21"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/1060745.1060809"},{"key":"e_1_2_1_28_1","unstructured":"Open Web Application Security Project (OWASP). 2013. http:\/\/www.owasp.org\/index.php\/Category:Attack  Open Web Application Security Project (OWASP). 2013. http:\/\/www.owasp.org\/index.php\/Category:Attack"},{"key":"e_1_2_1_29_1","first-page":"11","article-title":"Program analysis via graph reachability","volume":"40","author":"Reps T.","year":"1997","journal-title":"Inf. Softw. Technol."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/73560.73562"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2010.38"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/1555860.1555868"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.5555\/647165.717839"},{"key":"e_1_2_1_34_1","volume-title":"Proceedings of the 2nd International Conference on Tests and Proofs (TAP'08)","author":"Tillmann N."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1542476.1542486"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICST.2010.15"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/2103656.2103674"},{"key":"e_1_2_1_38_1","unstructured":"Wala. T. J. 2013. Watson libraries for analysis. http:\/\/wala.sf.net\/.  Wala. T. J. 2013. Watson libraries for analysis. http:\/\/wala.sf.net\/."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2009.5070535"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/1250734.1250739"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/1390630.1390661"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/103135.103136"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/996841.996859"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2009.20"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-85114-1_21"},{"key":"e_1_2_1_46_1","unstructured":"Z3. 2013. Z3. http:\/\/research.microsoft.com\/projects\/z3.  Z3. 2013. Z3. http:\/\/research.microsoft.com\/projects\/z3."}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2522920.2522926","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2522920.2522926","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T07:34:53Z","timestamp":1750232093000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2522920.2522926"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2013,10]]},"references-count":46,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2013,10]]}},"alternative-id":["10.1145\/2522920.2522926"],"URL":"https:\/\/doi.org\/10.1145\/2522920.2522926","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2013,10]]},"assertion":[{"value":"2012-04-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2012-09-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2013-10-22","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}