wireguard-go/tun/wintun
Jason A. Donenfeld bad6caeb82 memmod: fix protected delayed load the right way
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>
2021-07-29 01:27:40 +02:00
..
memmod memmod: fix protected delayed load the right way 2021-07-29 01:27:40 +02:00
dll_fromfile_windows.go wintun: do not load dll in init() 2021-01-07 14:49:44 +01:00
dll_fromrsrc_windows.go memmod: use resource functions from x/sys 2021-03-08 21:04:09 -07:00
dll_windows.go global: bump copyright 2021-01-28 17:52:15 +01:00
session_windows.go global: bump copyright 2021-01-28 17:52:15 +01:00
wintun_windows.go global: bump copyright 2021-01-28 17:52:15 +01:00