RockSalt: better, faster, stronger SFI for the x86

G Morrisett, G Tan, J Tassarotti, JB Tristan… - Proceedings of the 33rd …, 2012 - dl.acm.org
Software-based fault isolation (SFI), as used in Google's Native Client (NaCl), relies upon a
conceptually simple machine-code analysis to enforce a security policy. But for complicated …

Using selective memoization to defeat regular expression denial of service (ReDoS)

JC Davis, F Servant, D Lee - 2021 IEEE symposium on security …, 2021 - ieeexplore.ieee.org
Regular expressions (regexes) are a denial of service vector in most mainstream
programming languages. Recent empirical work has demonstrated that up to 10% of …

A typed, algebraic approach to parsing

NR Krishnaswami, J Yallop - Proceedings of the 40th ACM SIGPLAN …, 2019 - dl.acm.org
In this paper, we recall the definition of the context-free expressions (or µ-regular
expressions), an algebraic presentation of the context-free languages. Then, we define a …

On the complexity and performance of parsing with derivatives

MD Adams, C Hollenbeck, M Might - Proceedings of the 37th ACM …, 2016 - dl.acm.org
Current algorithms for context-free parsing inflict a trade-off between ease of understanding,
ease of implementation, theoretical complexity, and practical performance. No algorithm …

POSIX regular expression parsing with derivatives

M Sulzmann, KZM Lu - International Symposium on Functional and Logic …, 2014 - Springer
We adapt the POSIX policy to the setting of regular expression parsing. POSIX favors
longest left-most parse trees. Compared to other policies such as greedy left-most, the …

Zippy ll (1) parsing with derivatives

R Edelmann, J Hamza, V Kunčak - Proceedings of the 41st ACM …, 2020 - dl.acm.org
In this paper, we present an efficient, functional, and formally verified parsing algorithm for
LL (1) context-free expressions based on the concept of derivatives of formal languages …

Functional programming with structured graphs

BCS Oliveira, WR Cook - Proceedings of the 17th ACM SIGPLAN …, 2012 - dl.acm.org
This paper presents a new functional programming model for graph structures called
structured graphs. Structured graphs extend conventional algebraic datatypes with explicit …

A text-based syntax completion method using LR parsing and its evaluation

I Sasano, K Choi - Science of Computer Programming, 2023 - Elsevier
This paper presents a text-based syntax completion method that uses an LR parser. We
propose formal definitions of candidate text to be completed based on the sentential forms …

FliPpr: A prettier invertible printing system

K Matsuda, M Wang - European Symposium on Programming, 2013 - Springer
When implementing a programming language, we often write a parser and a pretty-printer.
However, manually writing both programs is not only tedious but also error-prone; it may …

CoStar: a verified ALL (*) parser

S Lasser, C Casinghino, K Fisher, C Roux - Proceedings of the 42nd …, 2021 - dl.acm.org
Parsers are security-critical components of many software systems, and verified parsing
therefore has a key role to play in secure software design. However, existing verified parsers …