summaryrefslogtreecommitdiffhomepage
path: root/tun/wintun/memmod/memmod_windows_32.go
diff options
context:
space:
mode:
Diffstat (limited to 'tun/wintun/memmod/memmod_windows_32.go')
-rw-r--r--tun/wintun/memmod/memmod_windows_32.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/tun/wintun/memmod/memmod_windows_32.go b/tun/wintun/memmod/memmod_windows_32.go
new file mode 100644
index 0000000..bd2e254
--- /dev/null
+++ b/tun/wintun/memmod/memmod_windows_32.go
@@ -0,0 +1,16 @@
+// +build 386 arm
+
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2020 WireGuard LLC. All Rights Reserved.
+ */
+
+package memmod
+
+func (opthdr *IMAGE_OPTIONAL_HEADER) imageOffset() uintptr {
+ return 0
+}
+
+func (module *Module) check4GBBoundaries(alignedImageSize uintptr) (err error) {
+ return
+}