Skip to game

G&T / 04 · Reverse engineering

Binary Patch Lab

Trace a sample through a tiny executable, change a single byte, then run both copies with the same input.

RVM1 fixture · 16 bytes

Try this demo

  1. Go to the controls

    Choose a byte offset and use Apply byte patch to test the change.

  2. See what changed

    Compare the original and patched instruction traces. Restore original returns the bytes to their starting state.

01. Set the experiment

The original classifies sample values of 64 or higher as Priority. Start at 72 and raise the threshold to 80 (hex 50) to send the working copy down the other branch.

Download original fixture

Loading the executable fixture…

02. Inspect the bytes

03. Trace both runs

Original trace

    Working trace

      Read the full disassembly

      JZ consumes the comparison result. Zero jumps to the lower branch at offset 0D.