fuzzing

package module
v0.33.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0, BSD-3-Clause Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package fuzzing contains fuzz targets for CEL-Go.

Index

Constants

This section is empty.

Variables

View Source
var File_fuzzing_cel_go_lpm_proto protoreflect.FileDescriptor
View Source
var File_fuzzing_interpreter_fuzz_proto protoreflect.FileDescriptor

Functions

func FuzzEval

func FuzzEval(data []byte) int

FuzzEval evaluates a CEL expression with variable inputs generated by libprotobuf-mutator.

Types

type FuzzVariables

type FuzzVariables struct {
	Expr   string            `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
	Inputs map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FuzzVariables) Descriptor deprecated

func (*FuzzVariables) Descriptor() ([]byte, []int)

Deprecated: Use FuzzVariables.ProtoReflect.Descriptor instead.

func (*FuzzVariables) GetExpr

func (x *FuzzVariables) GetExpr() string

func (*FuzzVariables) GetInputs

func (x *FuzzVariables) GetInputs() map[string]string

func (*FuzzVariables) ProtoMessage

func (*FuzzVariables) ProtoMessage()

func (*FuzzVariables) ProtoReflect

func (x *FuzzVariables) ProtoReflect() protoreflect.Message

func (*FuzzVariables) Reset

func (x *FuzzVariables) Reset()

func (*FuzzVariables) String

func (x *FuzzVariables) String() string

type InterpreterFuzzable

type InterpreterFuzzable struct {
	CheckedExpr *expr.CheckedExpr      `protobuf:"bytes,1,opt,name=checked_expr,json=checkedExpr,proto3" json:"checked_expr,omitempty"`
	Activation  map[string]*expr.Value `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InterpreterFuzzable) Descriptor deprecated

func (*InterpreterFuzzable) Descriptor() ([]byte, []int)

Deprecated: Use InterpreterFuzzable.ProtoReflect.Descriptor instead.

func (*InterpreterFuzzable) GetActivation

func (x *InterpreterFuzzable) GetActivation() map[string]*expr.Value

func (*InterpreterFuzzable) GetCheckedExpr

func (x *InterpreterFuzzable) GetCheckedExpr() *expr.CheckedExpr

func (*InterpreterFuzzable) ProtoMessage

func (*InterpreterFuzzable) ProtoMessage()

func (*InterpreterFuzzable) ProtoReflect

func (x *InterpreterFuzzable) ProtoReflect() protoreflect.Message

func (*InterpreterFuzzable) Reset

func (x *InterpreterFuzzable) Reset()

func (*InterpreterFuzzable) String

func (x *InterpreterFuzzable) String() string

Jump to

Keyboard shortcuts

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