Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Gopakumar Choorakkot Edakkunni <gopakumar.c.e@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: wintun0.13 memmod load fails in windows10 (wintun 0.12 loads fine)
Date: Thu, 26 Aug 2021 09:14:13 -0400	[thread overview]
Message-ID: <CABK1yFAx0mLhx1jj=WmAfLewvzea6n4hwhabY4RNG137smBiFA@mail.gmail.com> (raw)

In memmod_windows.go, the program exits when calling
syscall.Syscall(module.entry, 3, module.codeBase,
uintptr(DLL_PROCESS_ATTACH), 0)

module.entry = 0x18000a660
module.codebase = 0x180000000

I I just swap out wintun 0.13 with wintun0.12, the load / syscall
works just fine, just for reference the entry and codebase for wintun
0.12 are below

module.entry = 0x18000b64c
module.codebase = 0x180000000

My windows system details are below

Edition Windows 10 Pro
Version 20H2
Installed on ‎4/‎3/‎2021
OS build 19042.1165

Any suggestions to debug further ?

Rgds,
Gopa.

             reply	other threads:[~2021-08-27 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26 13:14 Gopakumar Choorakkot Edakkunni [this message]
2021-08-27 14:11 ` Jason A. Donenfeld
2021-08-27 14:40   ` Gopakumar Choorakkot Edakkunni
2021-08-27 14:42     ` Gopakumar Choorakkot Edakkunni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABK1yFAx0mLhx1jj=WmAfLewvzea6n4hwhabY4RNG137smBiFA@mail.gmail.com' \
    --to=gopakumar.c.e@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).