purego PoC for linux and freebsd

This commit is contained in:
JupiterRider 2024-05-29 19:18:03 +02:00
parent c21ba3a916
commit 498c661fcb
4 changed files with 79 additions and 4 deletions

View file

@ -50,9 +50,6 @@ func loadLibrary() uintptr {
panic(fmt.Errorf("version %s of %s doesn't match the required version %s", version, libname, requiredVersion))
}
//DEBUG
fmt.Println(version)
return uintptr(handle)
}