Versions in this module Expand all Collapse all v0 v0.1.0 Mar 1, 2023 Changes in this version + func Fuzz(num int, base FuzzObject, opts ...FuzzOption) error + func MarshalRLP(m Marshaler) ([]byte, error) + func UnmarshalRLP(buf []byte, m Unmarshaler) error + type Arena struct + func (a *Arena) NewArray() *Value + func (a *Arena) NewBigInt(b *big.Int) *Value + func (a *Arena) NewBool(b bool) *Value + func (a *Arena) NewBytes(b []byte) *Value + func (a *Arena) NewCopyBytes(b []byte) *Value + func (a *Arena) NewFalse() *Value + func (a *Arena) NewNull() *Value + func (a *Arena) NewNullArray() *Value + func (a *Arena) NewString(s string) *Value + func (a *Arena) NewTrue() *Value + func (a *Arena) NewUint(i uint64) *Value + func (a *Arena) Reset() + type ArenaPool struct + var DefaultArenaPool ArenaPool + func (ap *ArenaPool) Get() *Arena + func (ap *ArenaPool) Put(a *Arena) + type FuzzError struct + Source interface{} + Target interface{} + func (f *FuzzError) Error() string + type FuzzObject interface + type FuzzOption func(f *Fuzzer) + func WithDefaults(fnc func(FuzzObject)) FuzzOption + func WithPostHook(fnc func(FuzzObject) error) FuzzOption + type Fuzzer struct + type Keccak struct + func NewKeccak256() *Keccak + func (k *Keccak) Read() []byte + func (k *Keccak) Reset() + func (k *Keccak) Sum(dst []byte) []byte + func (k *Keccak) Write(b []byte) (int, error) + type Marshaler interface + MarshalRLPTo func(dst []byte) ([]byte, error) + MarshalRLPWith func(a *Arena) (*Value, error) + type Parser struct + func (p *Parser) Hash(dst []byte, v *Value) []byte + func (p *Parser) Parse(b []byte) (*Value, error) + func (p *Parser) Raw(v *Value) []byte + type ParserPool struct + var DefaultParserPool ParserPool + func (pp *ParserPool) Get() *Parser + func (pp *ParserPool) Put(p *Parser) + type Type int + const TypeArray + const TypeArrayNull + const TypeBytes + const TypeNull + func (t Type) String() string + type Unmarshaler interface + UnmarshalRLP func(buf []byte) error + UnmarshalRLPWith func(v *Value) error + type Value struct + func (v *Value) Bytes() ([]byte, error) + func (v *Value) Elems() int + func (v *Value) Get(i int) *Value + func (v *Value) GetAddr(buf []byte) error + func (v *Value) GetBigInt(b *big.Int) error + func (v *Value) GetBool() (bool, error) + func (v *Value) GetByte() (byte, error) + func (v *Value) GetBytes(dst []byte, bits ...int) ([]byte, error) + func (v *Value) GetElems() ([]*Value, error) + func (v *Value) GetHash(buf []byte) error + func (v *Value) GetString() (string, error) + func (v *Value) GetUint64() (uint64, error) + func (v *Value) Len() uint64 + func (v *Value) MarshalTo(dst []byte) []byte + func (v *Value) Raw() []byte + func (v *Value) Set(vv *Value) + func (v *Value) Type() Type