linuxmem

package
v0.0.0-...-f0c01f2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: GPL-3.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

SPDX-License-Identifier: MIT

SPDX-License-Identifier: MIT

This loader is adapted from Reflektor's memmod Linux backend. It is kept in a separate leaf package so native-only callers do not link the Go c-shared static TLS provider. See ../../../memmod/COPYING for license details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func LoadLibrary

func LoadLibrary(data []byte) (*Module, error)

func (*Module) CallExport

func (module *Module) CallExport(name string) error

func (*Module) CallExportWithArgs

func (module *Module) CallExportWithArgs(name string, args ...uintptr) (uintptr, error)

CallExportWithArgs resolves and calls an exported native C/Rust function with up to three machine-word arguments and returns the value from the platform's primary return register.

func (*Module) Free

func (module *Module) Free()

func (*Module) ProcAddressByName

func (module *Module) ProcAddressByName(name string) (uintptr, error)

func (*Module) ProcAddressByOrdinal

func (module *Module) ProcAddressByOrdinal(ordinal uint16) (uintptr, error)

Jump to

Keyboard shortcuts

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