feat: parse and display all optional headers (M2)

Implement parsing for all 15 optional header types found in XEX2 files:
inline values (entry point, base address, stack size, system flags),
fixed-size structures (execution info, file format, TLS, game ratings,
LAN key, checksum/timestamp), and variable-size structures (static
libraries, import libraries, resource info, original PE name, Xbox 360
logo). Add comprehensive unit and integration tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-03-28 18:59:41 +01:00
parent a2e390a3fe
commit a9436a3a7a
8 changed files with 1582 additions and 11 deletions

1242
src/optional.rs Normal file

File diff suppressed because it is too large Load Diff