Commit Graph

4 Commits

Author SHA1 Message Date
2de87e5ea1 inline_scan test: pass --base=-0x1000 so argparse reaches _parse_base 2026-11-27 19:55:01 +08:00
757ffc364b inline_scan: support UTF-8 BOM, clean up dumpbin Popen on early close, and validate --base 2026-11-26 19:59:20 +08:00
d4dfcea7bd fix(tools): inline_scan exits 2 when it reads no instructions
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.
2026-11-22 20:19:45 +00:00
ca438076bc feat(tools): inline_scan finds inline command-list writes and whether each checks the cursor limit
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.
2026-11-22 19:37:55 +00:00