executable

package
v0.0.0-...-6de12c4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinTextAddr  = 0x000400000000
	MaxTextAddr  = 0x2aa700000000
	MinHeapAddr  = 0x2aa900000000
	MaxHeapAddr  = 0x554b00000000
	MinStackAddr = 0x554d00000000
	MaxStackAddr = 0x7ff000000000
)
View Source
const (
	StackVarsSize = 64 // Variables at start of stack memory.

	StackUsageOffset = StackVarsSize + stackSignalSpace + 240
	StackLimitOffset = StackUsageOffset + 8 + 8
)

See https://pkg.go.dev/gate.computer/wag/compile.

View Source
const (
	LoaderTextAddr = 0x200000000
)

Variables

View Source
var PageSize = os.Getpagesize()

Functions

func RandAddr

func RandAddr(minAddr, maxAddr uint64, b []byte) uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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