lnx

package
v0.0.0-...-1cfdf4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProcList [4096]uintptr

Keep list of managed foreign function addresses

Functions

func Invoke

func Invoke(proc uintptr, args ...uintptr) (ret uintptr)

Simplified wrapper for purego.SyscallN

func LazyLoad

func LazyLoad(str string) (so uintptr)

Function to lazily load an SO

func Load

func Load(str string) (so uintptr)

Function to eagerly load a managed SO

func MLazyLoadProc

func MLazyLoadProc(soStr string, index int, procStr string) (so uintptr)

Function to lazily load an SO, and find and manage a foreign function within it

func MLazyLoadProcs

func MLazyLoadProcs(str string, index int, strs []string) (so uintptr)

Function to lazily load an SO, and find and manage a list of foreign functions within it

func MProc

func MProc(so uintptr, index int, str string)

Function to find and manage a foreign function within an eagerly loaded SO

func MProcs

func MProcs(so uintptr, index int, strs []string)

Function to find and manage a list of foreign functions within an eagerly loaded SO

func Proc

func Proc(so uintptr, str string) (procAddr uintptr)

Function to find a foreign function within an eagerly loaded SO

func ReleaseAll

func ReleaseAll()

Function to release all managed eagerly loaded DLLs

func UMLoad

func UMLoad(str string) (so uintptr)

Function to eagerly load an unmanaged SO

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL