RockSalt: better, faster, stronger SFI for the x86
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 …
conceptually simple machine-code analysis to enforce a security policy. But for complicated …
Using selective memoization to defeat regular expression denial of service (ReDoS)
Regular expressions (regexes) are a denial of service vector in most mainstream
programming languages. Recent empirical work has demonstrated that up to 10% of …
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 …
expressions), an algebraic presentation of the context-free languages. Then, we define a …
On the complexity and performance of parsing with derivatives
Current algorithms for context-free parsing inflict a trade-off between ease of understanding,
ease of implementation, theoretical complexity, and practical performance. No algorithm …
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 …
longest left-most parse trees. Compared to other policies such as greedy left-most, the …
Zippy ll (1) parsing with derivatives
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 …
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 …
structured graphs. Structured graphs extend conventional algebraic datatypes with explicit …
A text-based syntax completion method using LR parsing and its evaluation
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 …
propose formal definitions of candidate text to be completed based on the sentential forms …
FliPpr: A prettier invertible printing system
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 …
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 …
therefore has a key role to play in secure software design. However, existing verified parsers …