Show simple item record

HAMPI: A Solver for String Constraints

dc.date.accessioned2009-02-04T19:00:04Z
dc.date.accessioned2018-11-26T22:25:51Z
dc.date.available2009-02-04T19:00:04Z
dc.date.available2018-11-26T22:25:51Z
dc.date.issued2009-02-04
dc.identifier.urihttp://hdl.handle.net/1721.1/44584
dc.identifier.urihttp://repository.aust.edu.ng/xmlui/handle/1721.1/44584
dc.description.abstractMany automatic testing, analysis, and verification techniques for programs can be effectively reduced to a constraint-generation phase followed by a constraint-solving phase. This separation of concerns often leads to more effective and maintainable tools. The increasing efficiency of off-the-shelf constraint solvers makes this approach even more compelling. However, there are few, if any, effective and sufficiently expressive off-the-shelf solvers for string constraints generated by analysis techniques for string-manipulating programs. We designed and implemented Hampi, a solver for string constraints over bounded string variables. Hampi constraints express membership in regular languages and bounded context-free languages. Hampi constraints may contain context-free-language definitions, regular-language definitions and operations, and the membership predicate. Given a set of constraints, Hampi outputs a string that satisfies all the constraints, or reports that the constraints are unsatisfiable. Hampi is expressive and efficient, and can be successfully applied to testing and analysis of real programs. Our experiments use Hampi in: static and dynamic analyses for finding SQL injection vulnerabilities in Web applications; automated bug finding in C programs using systematic testing; and compare Hampi with another string solver. Hampi's source code, documentation, and the experimental data are available at http://people.csail.mit.edu/akiezun/hampi.en_US
dc.format.extent11 p.en_US
dc.relation.urihttp://people.csail.mit.edu/akiezun/hampi
dc.subjectConstraint solversen_US
dc.subjectAutomated testingen_US
dc.titleHAMPI: A Solver for String Constraintsen_US


Files in this item

FilesSizeFormatView
MIT-CSAIL-TR-2009-004.pdf305.3Kbapplication/pdfView/Open
MIT-CSAIL-TR-2009-004.ps1.252Mbapplication/postscriptView/Open

This item appears in the following Collection(s)

Show simple item record