aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/driver/memmod/memmod_windows_32.go
diff options
context:
space:
mode:
Diffstat (limited to 'driver/memmod/memmod_windows_32.go')
-rw-r--r--driver/memmod/memmod_windows_32.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/driver/memmod/memmod_windows_32.go b/driver/memmod/memmod_windows_32.go
new file mode 100644
index 00000000..ac76bdcc
--- /dev/null
+++ b/driver/memmod/memmod_windows_32.go
@@ -0,0 +1,16 @@
+// +build windows,386 windows,arm
+
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2017-2021 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
+}