classify() walks back from a cursor store-back and took the load
`mov rax,[rcx+18h]` as the list's cursor only if rcx was already in
`bases` at that point. A copy `mov rbx,rcx` that comes before the load is
met after it on the way back, so the load counted as another structure's
+18h, the site lost load_traced and an unchecked write of that shape was
reported as `unrelated`: the summary said "UNCHECKED 0" for a write that
never checks. A checked write of the same shape was already found,
because the compare pass runs forwards over the final `bases`.
Record the load's base and check it once the walk has collected every
register the list was copied through. A load from a register that never
held the list is still another structure, as before.
Tested: new test_list_copied_before_the_cursor_load_is_still_unchecked
(fails before the fix for the copy-before-load order, passes after) and
test_cursor_loaded_from_another_structure_is_not_a_list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An empty file, a text file that is not a dumpbin listing, or a PE dumpbin
prints no code for gave "list sites 0: checked 0, UNCHECKED 0" and exit 0,
the same as a clean image. The scan now counts the instructions it reads,
prints the count, and exits 2 with a message when there are none.
The package's DLLs check before every inline write (BVH builder 196/196, FSR 9/9), so a layer that keeps
the cursor at the limit sees every command. Whether the game's executable does the same was open until it is
available; inline_scan answers it in one pass over a dumpbin listing. Baseline in d3d12_command_objects.md,
day-one step in design.md.