Versions in this module Expand all Collapse all v1 v1.22.1 Feb 21, 2024 Changes in this version type Reslice + TrustLen bool v1.22.0 Dec 29, 2023 Changes in this version + var ErrFuncCallNotAllowed = errors.New("function calls not allowed without using 'call'") + func Listing(depth []int, ops []Op) string + type AddrOf struct + Node *ast.UnaryExpr + type Binary struct + Node *ast.BinaryExpr + type BoolToConst struct + type BuiltinCall struct + Args []ast.Expr + Name string + type CallInjectionAllocString struct + Phase int + type CallInjectionComplete struct + type CallInjectionCopyArg struct + ArgExpr ast.Expr + ArgNum int + type CallInjectionSetTarget struct + type CallInjectionStart struct + HasFunc bool + Node *ast.CallExpr + type Index struct + Node *ast.IndexExpr + type Jump struct + Node ast.Expr + Pop bool + Target int + When JumpCond + type JumpCond uint8 + const JumpIfFalse + const JumpIfTrue + type Op interface + func Compile(lookup evalLookup, expr string, canSet bool) ([]Op, error) + func CompileAST(lookup evalLookup, t ast.Expr) ([]Op, error) + func CompileSet(lookup evalLookup, lhexpr, rhexpr string) ([]Op, error) + type PointerDeref struct + Node *ast.StarExpr + type Pop struct + type PushConst struct + Value constant.Value + type PushCurg struct + type PushFrameoff struct + type PushLocal struct + Frame int64 + Name string + type PushNil struct + type PushPackageVar struct + Name string + PkgName string + type PushRegister struct + Regname string + Regnum int + type PushThreadID struct + type Reslice struct + HasHigh bool + Node *ast.SliceExpr + type Select struct + Name string + type SetValue struct + Rhe ast.Expr + type TypeAssert struct + DwarfType godwarf.Type + Node *ast.TypeAssertExpr + type TypeCast struct + DwarfType godwarf.Type + Node *ast.CallExpr + type Unary struct + Node *ast.UnaryExpr