2015 IEEE Security and Privacy Workshops 2015
DOI: 10.1109/spw.2015.31
|View full text |Cite
|
Sign up to set email alerts
|

Nom, A Byte oriented, streaming, Zero copy, Parser Combinators Library in Rust

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
6
0

Year Published

2016
2016
2021
2021

Publication Types

Select...
7
1

Relationship

0
8

Authors

Journals

citations
Cited by 9 publications
(6 citation statements)
references
References 0 publications
0
6
0
Order By: Relevance
“…We have developed a prototype implementation that generates protocol parsers, written in Rust, using the nom library [33], from the Network Packet Representation, using Augmented Packet Header Diagrams as an input format.1 In this section, we will describe the output for our TCP example, and give snippets of the generated code to illustrate the benefits of the parser combinator approach, and the ways in which the architecture of the generated code improves safety and reliability.…”
Section: C Gmentioning
confidence: 99%
“…We have developed a prototype implementation that generates protocol parsers, written in Rust, using the nom library [33], from the Network Packet Representation, using Augmented Packet Header Diagrams as an input format.1 In this section, we will describe the output for our TCP example, and give snippets of the generated code to illustrate the benefits of the parser combinator approach, and the ways in which the architecture of the generated code improves safety and reliability.…”
Section: C Gmentioning
confidence: 99%
“…In practical terms, systems programming languages with an emphasis on memory safety and strict typing are particularly useful for testing the security of new protocols [5]. For this reason, our prototype generates Rust code, with parsers using the nom parser combinator library [6].…”
Section: Parser Generatorsmentioning
confidence: 99%
“…They combine several existing parsers that are represented by functions into a single, new parser. Representatives are Hammer [2], a parsing library for binary formats written in C, attoparsec [25], a parser combinator library for Haskell, and nom [13], a parser combinator written in Rust that leverages Rust's strong type system and memory safety. Parser combinators may contain ambiguities in the grammar which are not reported at compile-time.…”
Section: Related Workmentioning
confidence: 99%