Fast PokeEMU: Scaling Generated Instruction Tests Using Aggregation and State Chaining
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
|16:00 - 16:30|
|16:30 - 17:00|
Manuel RiggerJohannes Kepler University Linz, Stefan MarrUniversity of Kent, Stephen KellUniversity of Cambridge, David LeopoldsederJohannes Kepler University Linz, Hanspeter MössenböckJKU Linz, AustriaLink to publication Pre-print Media Attached