sys

Imports

Imports #

"encoding/binary"

Constants & Variables

AMD64 const #

const AMD64

ARM const #

const ARM

ARM64 const #

const ARM64

Arch386 var #

var Arch386 = *ast.UnaryExpr

ArchAMD64 var #

var ArchAMD64 = *ast.UnaryExpr

ArchARM var #

var ArchARM = *ast.UnaryExpr

ArchARM64 var #

var ArchARM64 = *ast.UnaryExpr

ArchLoong64 var #

var ArchLoong64 = *ast.UnaryExpr

ArchMIPS var #

var ArchMIPS = *ast.UnaryExpr

ArchMIPS64 var #

var ArchMIPS64 = *ast.UnaryExpr

ArchMIPS64LE var #

var ArchMIPS64LE = *ast.UnaryExpr

ArchMIPSLE var #

var ArchMIPSLE = *ast.UnaryExpr

ArchPPC64 var #

var ArchPPC64 = *ast.UnaryExpr

ArchPPC64LE var #

var ArchPPC64LE = *ast.UnaryExpr

ArchRISCV64 var #

var ArchRISCV64 = *ast.UnaryExpr

ArchS390X var #

var ArchS390X = *ast.UnaryExpr

ArchWasm var #

var ArchWasm = *ast.UnaryExpr

Archs var #

var Archs = [...]*Arch{...}

ExecArgLengthLimit const #

ExecArgLengthLimit is the number of bytes we can safely pass as arguments to an exec.Command. Windows has a limit of 32 KB. To be conservative and not worry about whether that includes spaces or not, just use 30 KB. Darwin's limit is less clear. The OS claims 256KB, but we've seen failures with arglen as small as 50KB.

const ExecArgLengthLimit = *ast.ParenExpr

I386 const #

const I386

Loong64 const #

const Loong64

MIPS const #

const MIPS

MIPS64 const #

const MIPS64

NoArch const #

const NoArch ArchFamily = iota

PPC64 const #

const PPC64

RISCV64 const #

const RISCV64

S390X const #

const S390X

Wasm const #

const Wasm

Type Aliases

ArchFamily type #

ArchFamily represents a family of one or more related architectures. For example, ppc64 and ppc64le are both members of the PPC64 family.

type ArchFamily byte

Structs

Arch struct #

Arch represents an individual architecture.

type Arch struct {
Name string
Family ArchFamily
ByteOrder binary.ByteOrder
PtrSize int
RegSize int
MinLC int
Alignment int8
CanMergeLoads bool
CanJumpTable bool
HasLR bool
FixedFrameSize int64
}

Functions

InFamily method #

InFamily reports whether a is a member of any of the specified architecture families.

func (a *Arch) InFamily(xs ...ArchFamily) bool

Generated with Arrow