memory

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputErrorPrefix   = "ERROR: "
	OutputReady         = "READY"
	OutputAddressPrefix = "ADDRESS: "
)

Variables

This section is empty.

Functions

func Main

func Main()

Types

type Tester

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

func NewTester

func NewTester(ctx context.Context, c *TesterCompiler, data []byte, nativePermis uintptr) (*Tester, error)

func (*Tester) Close

func (t *Tester) Close() error

func (*Tester) PID

func (t *Tester) PID() int

func (*Tester) WriteDataAndGetAddress

func (t *Tester) WriteDataAndGetAddress() (uintptr, error)

type TesterCompiler

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

func NewTesterCompiler

func NewTesterCompiler() (*TesterCompiler, error)

func (*TesterCompiler) BinaryPath

func (c *TesterCompiler) BinaryPath() string

func (*TesterCompiler) Close

func (c *TesterCompiler) Close() error

func (*TesterCompiler) Compile

func (c *TesterCompiler) Compile(ctx context.Context) error

Jump to

Keyboard shortcuts

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