Skip to main content

2 posts tagged with "documentation"

View All Tags

A Callback That Changes the Question, and a Clamp That Wasn't Signed

· 8 min read
reverse-engineering → modernization

Reverse engineering has a failure mode that looks nothing like a bug: code that reads exactly right and is quietly wrong. A plausible paraphrase of an instruction and the instruction itself can look identical at a glance, so the safest-looking line is often the one that never actually matched the binary. That pattern surfaced three times over today — in a harvester's movement logic, in a single audio clamp, and in the switch at the heart of the campaign scripting engine — and each time the fix was the same discipline: trust the binary over the story you'd expect it to tell.