Authors
Jedidiah McClurg, Miles Claver, Jackson Garner, Jake Vossen, Jordan Schmerge, Mehmet E Belviranli
Publication date
2022/10/8
Book
31st International Conference on Parallel Architectures and Compilation Techniques (PACT '22)
Description
Regular expressions are pervasive in modern systems. Many real-world regular expressions are inefficient, sometimes to the extent that they are vulnerable to complexity-based attacks, and while much research has focused on detecting inefficient regular expressions or accelerating regular expression matching at the hardware level, we investigate automatically transforming regular expressions to remove inefficiencies. We reduce this problem to general expression optimization, an important task necessary in a variety of domains even beyond compilers, e.g., digital logic design, etc. Syntax-guided synthesis (SyGuS) with a cost function can be used for this purpose, but ordered enumeration through a large space of candidate expressions can be prohibitively expensive. Equality saturation is an alternative approach which allows efficient construction and maintenance of expression equivalence classes generated …
Total citations
202220232024343
Scholar articles
J McClurg, M Claver, J Garner, J Vossen, J Schmerge… - Proceedings of the International Conference on …, 2022
M Claver, J Schmerge, J Garner, J Vossen, J McClurg - arXiv e-prints, 2021