Loading...

Embedded Nom: a case study of memory safe parsing in resource constrained environments

247 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jun 9, 2017

Embedded Nom: a case study of memory safe parsing in resource constrained environments

Richo Healey
Presented at the 2017 LangSec Workshop
at the IEEE Symposium on Security & Privacy Workshops
May 25, 2016
San Jose, CA
http://www.ieee-security.org/TC/SP2017/
http://spw17.langsec.org/

ABSTRACT
Modern embedded devices have a near unilateral need to parse complex structured data in order to operate. Historically, the parsers for these formats have been defect prone, difficult to work on, and often inefficient. We present a working example of parsers constructed using a modified version of the Nom parser combinator framework operating on an embedded platform, parsing complex input formats and safely and efficiently converting this into structured data.

Further, we demonstrate that these parsers can safely be integrated with an existing C codebase, clearing the way for incremental migrations to memory safe languages in environments where greenfield rewrites are economically infeasible.

Loading...

to add this to Watch Later

Add to

Loading playlists...