Versions in this module Expand all Collapse all v0 v0.0.1 Oct 27, 2024 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 CallInjectionComplete struct + type CallInjectionCopyArg struct + ArgExpr ast.Expr + ArgNum int + type CallInjectionSetTarget struct + type CallInjectionStart struct + HasFunc bool + Node *ast.CallExpr + type CallInjectionStartSpecial struct + ArgAst []ast.Expr + FnName string + type ConvertAllocToString struct + type Index struct + Node *ast.IndexExpr + type Jump struct + Node ast.Expr + Pop bool + Target int + When JumpCond + type JumpCond uint8 + const JumpIfAllocStringChecksFail + 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 PushIdent struct + Name string + type PushLen struct + type PushLocal struct + Frame int64 + Name string + type PushNil struct + type PushPackageVarOrSelect struct + Name string + NameIsString bool + Sel string + type PushRangeParentOffset struct + type PushThreadID struct + type Reslice struct + HasHigh bool + Node *ast.SliceExpr + TrustLen bool + 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 v0.0.1-alpha Jan 10, 2025