Online / 5 & 6 February 2022


Fuzzing, or How I Generated 1,000,000 New Processor Test Cases in an Afternoon

Fill your boots. Then fill somebody else's.

Most emulator authors will have encountered a test suite; a series of compliance tests that indicate whether their implementation matches original hardware. But these suites tend to assume a lot of working functionality beyond the part they are specifically testing, often being designed by an intelligent human being to test finished emulators.

This presentation covers an alternative source and target of tests: random numbers, to test individual processor instructions, so that future emulator authors can test from day one.


Thomas Harte