I've never implemented byte VMs until a little project I got to implement #webassembly, but I have a decent experience with binary processing.
That said, only now did I figure out that I can actually make deliberately wrong encoders and repalace correct bytes with marker bytes (like 0xFF) for debug in a hex editor!
D'oh.