github.com/apernet/sing-tun@v0.2.6-0.20240323130332-b9f6511036ad/internal/wintun/memmod/memmod_windows_32.go (about) 1 //go:build (windows && 386) || (windows && arm) 2 3 /* SPDX-License-Identifier: MIT 4 * 5 * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved. 6 */ 7 8 package memmod 9 10 func (opthdr *IMAGE_OPTIONAL_HEADER) imageOffset() uintptr { 11 return 0 12 } 13 14 func (module *Module) check4GBBoundaries(alignedImageSize uintptr) (err error) { 15 return 16 }