Nail: A Practical Tool for Parsing and Generating Data Formats
Name
Zeldovich_Nail.pdf
Size
191.78 KB
Format
Adobe PDF
Checksum (MD5)
62d8547c8549bf3d80b502dc200cdd0b
Author(s) •
Bangert, Julian
Zeldovich, Nickolai
Alternative Title
Nail: A Practical Interface Generator for Data Formats
Date Issued
May 2014
Journal
Proceedings of the 2014 IEEE Security and Privacy Workshops
Publisher
Institute of Electrical and Electronics Engineers (IEEE)
Citation
Bangert, Julian, and Nickolai Zeldovich. “Nail: A Practical Interface Generator for Data Formats.” 2014 IEEE Security and Privacy Workshops (May 2014).
Version
Original manuscript
Abstract
We present Nail, an interface generator that allows programmers to safely parse and generate protocols defined by a Parser-Expression based grammar. Nail uses a richer set of parser combinators that induce an internal representation, obviating the need to write semantic actions. Nail also provides solutions parsing common patterns such as length and offset fields within binary formats that are hard to process with existing parser generators.
MIT Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Terms of Use
Creative Commons Attribution-Noncommercial-Share Alike
Persistent DSpace Link
DOI of Published Version
https://doi.org/10.1109/SPW.2014.31