github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/utils/memmod/memmod_windows_32.go (about)

     1  //go:build (windows && 386) || (windows && arm)
     2  
     3  /* SPDX-License-Identifier: MIT
     4   *
     5   * Copyright (C) 2017-2022 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  }