| 1 | //go:build !windows |
| 2 | |
| 3 | package main |
| 4 | |
| 5 | import "os" |
| 6 | |
| 7 | // Windows verifies each executable with the OS Authenticode policy while the |
| 8 | // same read handle is held. Non-Windows builds keep the release-unit loader |
| 9 | // testable without importing platform-specific trust APIs. |
| 10 | var readVerifiedWindowsStagedPayloadFn = os.ReadFile |
| 11 |