Title :
Proving correctness of regular expression matchers with constrained repetition
Author :
Heyse, Karel ; Bruneel, Karel ; Stroobandt, Dirk
Author_Institution :
ELIS Dept., Ghent Univ., Ghent, Belgium
Abstract :
It is known that an often used implementation method for regular expressions that uses a combination of counters and nondeterministic finite automatons is incorrect for certain regular expressions. Determining which expressions can be correctly implemented with this method has proven nontrivial and has previously been done without proof. Presented is the first automatic method to prove the correctness of the implementation method for specific expressions and to detect which expressions should be implemented differently. The use (in previous work) of this implementation method in network intrusion detection systems without proof of correctness for every regular expression constitutes a security risk to the network it is supposed to protect. Presented is a solution for this issue.
Keywords :
counting circuits; finite automata; theorem proving; constrained repetition; correctness proving; counter; network intrusion detection system; network security risk; nondeterministic finite automaton; regular expression matchers;
Journal_Title :
Electronics Letters
DOI :
10.1049/el.2012.2208