memmod: fix import loading function usage
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
c9fabbd5bf
commit
b6303091fc
5 changed files with 10 additions and 32 deletions
|
|
@ -324,8 +324,6 @@ const (
|
|||
DLL_PROCESS_DETACH = 0
|
||||
)
|
||||
|
||||
//sys loadLibraryA(libFileName *byte) (module windows.Handle, err error) = kernel32.LoadLibraryA
|
||||
//sys getProcAddress(module windows.Handle, procName *byte) (addr uintptr, err error) = kernel32.GetProcAddress
|
||||
//sys isBadReadPtr(addr uintptr, ucb uintptr) (ret bool) = kernel32.IsBadReadPtr
|
||||
|
||||
type SYSTEM_INFO struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue