Deep investigation into Windows PE binary compatibility with Go and Rust launchers
308 files · 38,918+ · 2,676-

PE binary analysis and fix utilities

4 files changed
  • pe_utils.py PE binary analysis and manipulation utilities for Windows executables (610 lines)
  • analyze_pe_binaries.py CI-based PE binary analysis and debugging script (236 lines)
  • pe_utils.go Go PE utility functions
  • pe_utils.rs Rust PE utility functions
  • Added PE binary analysis and manipulation utilities across Python, Go, and Rust instantiate behavioral
    3 files
    • pe_utils.py
    • pe_utils.go
    • pe_utils.rs
  • Added CI script for PE binary analysis and debugging instantiate internal
    1 file
    • analyze_pe_binaries.py

PE header expansion fixes across builders

4 files changed
  • builder.go Updated Go builder with PE header expansion fixes
  • mod.rs Updated Rust builder for PE handling
  • slot_processor.rs Updated Rust slot processor for PE sections
  • builder.py Updated Python builder with PE header logic
  • Implemented Debug Directory offset updates across all three PSP builders (Phase 27) remediate internal
    3 files
    • builder.go
    • mod.rs
    • builder.py
  • Added Certificate Table update to PE expansion (Phase 26) harden internal
    1 file
    • slot_processor.rs
  • Discovered that ARM64 has different section count than amd64 in PE binaries remediate internal
    1 file
    • PHASE_28_ANALYSIS.md

CI/CD workflow updates for Windows debugging

3 files changed
  • 01-helper-prep.yml Updated helper rebuild workflow
  • 02-pretaster-pipeline.yml Added debugging steps for Windows
  • 03-flavor-pipeline.yml Updated flavor pipeline
  • Updated CI workflows with Windows debugging steps and visible binary test output decouple internal
    3 files
    • 01-helper-prep.yml
    • 02-pretaster-pipeline.yml
    • 03-flavor-pipeline.yml
  • Made test binaries step non-blocking for debugging qualify internal
    1 file
    • 02-pretaster-pipeline.yml

Windows runtime fixes in Go launcher

4 files changed
  • main.go Fixed Windows test mode detection
  • runtime.go Enabled trace logging and fixed PrefixWriter emoji crash
  • execution.go Reverted filepath.ToSlash changes that broke Windows execution
  • launcher.go Updated launcher for Windows paths
  • Fixed Windows test mode detection to enable native binary execution remediate behavioral
    1 file
    • main.go
  • Enabled trace logging and fixed Windows PrefixWriter emoji crash remediate behavioral
    1 file
    • runtime.go
  • Reverted filepath.ToSlash changes that broke Windows execution remediate internal
    1 file
    • execution.go

Rust launcher and documentation updates

8 files changed
  • Cargo.toml Added PE handling dependencies
  • reader.rs Updated reader for Windows
  • slots.rs Updated slots for Windows
  • HANDOFF_WINDOWS_FIXES.md Continued Windows fix tracking
  • PHASE_22_PE_SECTION_OFFSET_BUG.md PE section offset bug documentation
  • PHASE_28_ANALYSIS.md Phase 28 analysis of ARM64 PE differences
  • HANDOFF_PHASE_28_29.md Phase 28-29 handoff documentation
  • RESEARCH_GO_COMPILER_OPTIONS.md Go compiler options research for PE generation
  • Updated Rust launcher dependencies and modules for PE handling decouple internal
    3 files
    • Cargo.toml
    • reader.rs
    • slots.rs
  • Extensive investigation documentation tracking Phases 18-29 of the Windows compatibility effort specify internal
    5 files
    • HANDOFF_WINDOWS_FIXES.md
    • PHASE_22_PE_SECTION_OFFSET_BUG.md
    • PHASE_28_ANALYSIS.md
    • HANDOFF_PHASE_28_29.md
    • RESEARCH_GO_COMPILER_OPTIONS.md

Cross-language test logs

3 files changed
  • pretaster-b_go-l_go.20251030_152616.log Cross-language test logs for darwin amd64
  • pretaster-b_go-l_go.20251030_152616.log Cross-language test logs for darwin arm64
  • pretaster-b_go-l_go.20251030_152616.log Cross-language test logs for linux amd64
  • Added cross-language pretaster test logs across darwin (amd64/arm64) and linux platforms qualify internal
    3 files
    • pretaster-b_go-l_go.20251030_152616.log
    • pretaster-b_go-l_go.20251030_152616.log
    • pretaster-b_go-l_go.20251030_152616.log