A Simple Runtime Invariant Miner

9 points by vrthra


vrthra

This post provides a tutorial of the Daikon framework for inferring dynamic invariants from program execution. Daikon is the dynamic dual of static analysis for invariant inference, and is /a/ whitebox dual of blackbox specification inference.

This is part of my ongoing effort to document various algorithms relating to static and dynamic analysis as well as blackbox and whitebox testing.

I am looking for feedback on structure as well as content as before. The content is oriented toward software engineering students who typically know about basic software development, and some formalism. The implementation prioritizes clarity over speed.

Note: Pyodide takes a little time to initialize, but it should be faster to initialize than spinning up the binder service from Jupyter (but slower to execute).