bad6caeb82
The reason this was failing before is that dloadsup.h's DloadObtainSection was doing a linear search of sections to find which header corresponds with the IMAGE_DELAYLOAD_DESCRIPTOR section, and we were stupidly overwriting the VirtualSize field, so the linear search wound up matching the .text section, which then it found to not be marked writable and failed with FAST_FAIL_DLOAD_PROTECTION_FAILURE. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
---|---|---|
.. | ||
memmod_windows.go | ||
memmod_windows_32.go | ||
memmod_windows_64.go | ||
memmod_windows_386.go | ||
memmod_windows_amd64.go | ||
memmod_windows_arm.go | ||
memmod_windows_arm64.go | ||
syscall_windows.go | ||
syscall_windows_32.go | ||
syscall_windows_64.go |