Skip to content

Conversation

@stellaraccident
Copy link
Collaborator

No description provided.

Adds full Windows PE/COFF binary surgery support alongside existing ELF:

New modules:
- rocm_kpack.coff.types: PE/COFF header structures and parsing
- rocm_kpack.coff.surgery: Low-level COFF section manipulation
- rocm_kpack.coff.zero_page: Zero-page injection strategy for kpack refs
- rocm_kpack.coff.kpack_transform: High-level kpack transformation pipeline
- rocm_kpack.coff.verify: Verification of transformed COFF binaries

Cross-platform infrastructure:
- rocm_kpack.format_detect: Auto-detect ELF vs COFF binary format
- rocm_kpack.kpack_transform: Generic API dispatching to ELF or COFF
- rocm_kpack.platform_utils: Platform detection utilities

Test infrastructure:
- Windows test assets (DLLs with embedded HIP fat binaries)
- COFF-specific test suite (surgery, transform, verify)
- Common test suite for cross-platform transform API

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants