github.com/metacubex/sing-tun@v0.2.7-0.20240512075008-89e7c6208eec/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  }