Repository navigation
Remove checked-in DLLs for key-generation tests from repo - #6057
Conversation
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved issues were identified that would block approval.
Review effort: Lite
Findings: None
What changed in this PR
Replaces checked-in PE test DLL dependencies with generated in-memory PE images for symbol key-generation tests.
Changes:
- Adds a minimal PE image builder with version resources.
- Updates parameterized tests to generate streams in memory.
| File | Description |
|---|---|
| src/tests/Microsoft.SymbolStore.UnitTests/PEImageBuilder.cs | Updated as part of this pull request. |
| src/tests/Microsoft.SymbolStore.UnitTests/PEFileKeyGenerationTests.cs | Updated as part of this pull request. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
A few things on the PE creator: It fails a few things in https://learn.microsoft.com/en-us/windows/win32/debug/pe-format
|
Ok, I’ll add these back - I was trying to remove some data that didn’t matter for key generation but you are right that it should follow the spec |
Replace manual PE headers with PEBuilder, validate generated resources and alignment, and remove the obsolete Guardian baseline. Co-authored-by: Copilot <[email protected]> Copilot-Session: 3ea7d50c-b495-46fa-9f71-d36bf96e672e
|
/ba-g known test failure |

Replace the dummy DLLs that are checked-in for the purpose of testing key generation with in-memory dummy images.