mirror of
https://github.com/morluto/rea.git
synced 2026-11-26 06:08:37 +00:00
#14253 made the static PE readers read the optional header at its fixed offsets and admit a declared directory count below 16, as the Windows loader does. The Go MZ diagnostic fixtures still expected the older refusals, so inspect_go_binary MCP and CLI diagnostics failed on main. A short SizeOfOptionalHeader with an unknown magic at the fixed offset is now an unsupported optional header, and a PE declaring one data directory is admitted and keeps its build information, which the MCP test now asserts.