Sun 25 Mar 2018 16:00 - 16:30 - Session 3: Following Instructions Chair(s): Carl Waldspurger

Software that emulates a CPU has many applications, but is difficult to implement correctly and requires extensive testing. Since a large number of test cases are required for full coverage, it is important that the tests execute efficiently. We explore techniques for combining many instruction tests into one program to amortize overheads such as booting an emulator. To ensure the results of each test are reflected in a final result, we use the outputs of one instruction test as an input to the next, and adopt the “Feistel network” construction from cryptography so that each step is invertible. We evaluate this approach by applying it to PokeEMU, a tool that generates emulator tests using symbolic execution. The combined tests run much faster, but still reveal most of the same behavior differences as when run individually.

Sun 25 Mar

Displayed time zone: Eastern Time (US & Canada) change

16:00 - 17:00
Session 3: Following InstructionsResearch Papers
Chair(s): Carl Waldspurger Carl Waldspurger Consulting
Fast PokeEMU: Scaling Generated Instruction Tests Using Aggregation and State Chaining
Research Papers
Qiuchen Yan University of Minnesota, Stephen McCamant University of Minnesota
An Analysis of x86-64 Inline Assembly in C Programs
Research Papers
Manuel Rigger Johannes Kepler University Linz, Stefan Marr University of Kent, Stephen Kell University of Cambridge, David Leopoldseder Johannes Kepler University Linz, Hanspeter Mössenböck JKU Linz, Austria
Link to publication Pre-print Media Attached