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 bytesTry this demo
- Go to the controls
Choose a byte offset and use Apply byte patch to test the change.
- See what changed
Compare the original and patched instruction traces. Restore original returns the bytes to their starting state.
Guided play
Choose an experiment
Start with the baseline, compare one change, and then test a challenge. You can also use the lab freely below.
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.
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.