It also reminds me of techniques that I've seen for inserting coverage instrumentation.
Use nops (or other placeholders to insert "counter increment" fills) on instrumented runs, e.g. in test, that way you don't have to modify the "production" code to measure test coverage.
It sounds a little like they re-invented Detours.
https://github.com/microsoft/Detours