TY - GEN
T1 - A lightweight framework for regular expression verification
AU - Liu, Xiao
AU - Jiang, Yufei
AU - Wu, Dinghao
N1 - Publisher Copyright:
©2019 IEEE.
PY - 2019/3/22
Y1 - 2019/3/22
N2 - Regular expressions and finite state automata have been widely used in programs for pattern searching and string matching. Unfortunately, despite the popularity, regular expressions are difficult to understand and verify even for experienced programmers. Conventional testing techniques remain a challenge as large regular expressions are constantly used for security purposes such as input validation and network intrusion detection. In this paper, we present a lightweight verification framework for regular expressions. In this framework, instead of a large number of test cases, it takes in requirements in natural language descriptions to automatically synthesize formal specifications. By checking the equivalence between the synthesized specifications and target regular expressions, errors will be detected and counterexamples will be reported. We have built a web application prototype and demonstrated its usability with two case studies.
AB - Regular expressions and finite state automata have been widely used in programs for pattern searching and string matching. Unfortunately, despite the popularity, regular expressions are difficult to understand and verify even for experienced programmers. Conventional testing techniques remain a challenge as large regular expressions are constantly used for security purposes such as input validation and network intrusion detection. In this paper, we present a lightweight verification framework for regular expressions. In this framework, instead of a large number of test cases, it takes in requirements in natural language descriptions to automatically synthesize formal specifications. By checking the equivalence between the synthesized specifications and target regular expressions, errors will be detected and counterexamples will be reported. We have built a web application prototype and demonstrated its usability with two case studies.
UR - http://www.scopus.com/inward/record.url?scp=85064004332&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85064004332&partnerID=8YFLogxK
U2 - 10.1109/HASE.2019.00011
DO - 10.1109/HASE.2019.00011
M3 - Conference contribution
AN - SCOPUS:85064004332
T3 - Proceedings of IEEE International Symposium on High Assurance Systems Engineering
SP - 1
EP - 8
BT - Proceedings - 19th IEEE International Symposium on High Assurance Systems Engineering, HASE 2019
A2 - Nguyen, Vu
A2 - Jiang, Congfeng
A2 - Yu, Dongjin
PB - IEEE Computer Society
T2 - 19th IEEE International Symposium on High Assurance Systems Engineering, HASE 2019
Y2 - 3 January 2019 through 5 January 2019
ER -