Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Static Analysis for Regular Expression Exponential Runtime via Substructural Logics (Extended) (1405.7058v2)

Published 27 May 2014 in cs.PL and cs.LO

Abstract: Regular expression matching using backtracking can have exponential runtime, leading to an algorithmic complexity attack known as REDoS in the systems security literature. In this paper, we build on a recently published static analysis that detects whether a given regular expression can have exponential runtime for some inputs. We systematically construct a more accurate analysis by forming powers and products of transition relations and thereby reducing the REDoS problem to reachability. The correctness of the analysis is proved using a substructural calculus of search trees, where the branching of the tree causing exponential blowup is characterized as a form of non-linearity.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (2)
  1. Asiri Rathnayake (3 papers)
  2. Hayo Thielecke (5 papers)
Citations (37)

Summary

We haven't generated a summary for this paper yet.