Learning material. Worked examples link to their investigation records; suggested prompts are not actual model transcripts.

Separate a plausible rule from an observed result

A recovered explanation has several parts: what the tool returned, what you infer from it, what assumptions you add, and what the original program actually does. Keeping those parts visible makes mistakes easier to find.

The REA flag-checker case gives a concrete example. We reproduced the official investigation, extracted the binary's checking tables and captured the original program accepting one input and rejecting another.

Tie each claim to a program location

The seventh mask begins with EB 01 F2 00. On its own, that byte sequence does not explain a checking rule. The decoder's signed-byte instructions supply the interpretation: skip 21 cells, select one, skip 14, then stop.

The corresponding stored total is 55. Together, the decoder and the data support the conclusion that position 21 must contain character code 55. The name of a helper or a fluent explanation alone would not establish that.

Check the decompiler against its caller

Our decoder result declares a void return, yet its caller uses the returned pointer. The instruction view helps resolve that discrepancy. Treat recovered types and names as analysis results that may need correction, not original declarations.

When two parts of the evidence disagree, use that disagreement to choose the next query. Inspect the caller, return register or referenced bytes before writing a confident summary.

Name the assumptions you add

The solver combines the extracted sums with a conventional DUCTF{...} shape and a restricted character alphabet. Those formatting constraints are our assumptions. They are not checks recovered from the binary.

A successful solve means the candidate satisfies that combined model. It does not by itself prove that the candidate is unique, that the original source has been recovered, or that every possible input is understood.

Check both sides of the prediction

On a small screen, scroll the table to compare →
CheckWhat it establishes
Candidate satisfies all extracted sumsOur candidate is consistent with the reconstructed equations
Original prints Correct!, exit 0That actual program accepts this candidate
Change position 21 from 7 to 8The seventh equation now fails: 56 differs from 55
Original prints Incorrect!, exit 255That actual program rejects the changed input

The last two rows are related, but they do not prove that the live program reaches the seventh check before rejecting the input. Another equation may fail earlier. Avoid adding a runtime story that was not observed.

Make the record readable

Keep the exact binary identity, queries, selected evidence, input and output with the case. Explain the finding before presenting the detailed logs. Our publication copies replace local paths, so they are linked as readable evidence rather than untouched canonical bundles.

The browser demo calculates one equation and replays recorded verdicts; the two REA process captures are the actual original-program observations. Readers should be able to tell which they are viewing.

Inspect the case and its evidence, or plan a first investigation.

Sources & further reading

Tools in this guide