fuzztests

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFuzz = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFuzz   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Nil

type Nil struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Nil) Descriptor

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

func (*Nil) GoString

func (this *Nil) GoString() string

func (*Nil) Marshal

func (m *Nil) Marshal() (dAtA []byte, err error)

func (*Nil) MarshalTo

func (m *Nil) MarshalTo(dAtA []byte) (int, error)

func (*Nil) ProtoMessage

func (*Nil) ProtoMessage()

func (*Nil) Reset

func (m *Nil) Reset()

func (*Nil) Size

func (m *Nil) Size() (n int)

func (*Nil) String

func (m *Nil) String() string

func (*Nil) Unmarshal

func (m *Nil) Unmarshal(dAtA []byte) error

func (*Nil) XXX_DiscardUnknown added in v1.1.0

func (m *Nil) XXX_DiscardUnknown()

func (*Nil) XXX_Marshal added in v1.1.0

func (m *Nil) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Nil) XXX_Merge added in v1.1.0

func (dst *Nil) XXX_Merge(src proto.Message)

func (*Nil) XXX_Size added in v1.1.0

func (m *Nil) XXX_Size() int

func (*Nil) XXX_Unmarshal added in v1.1.0

func (m *Nil) XXX_Unmarshal(b []byte) error

type NinOptNative

type NinOptNative struct {
	Field1               *float64 `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
	Field2               *float32 `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
	Field3               *int32   `protobuf:"varint,3,opt,name=Field3" json:"Field3,omitempty"`
	Field4               *int64   `protobuf:"varint,4,opt,name=Field4" json:"Field4,omitempty"`
	Field5               *uint32  `protobuf:"varint,5,opt,name=Field5" json:"Field5,omitempty"`
	Field6               *uint64  `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
	Field7               *int32   `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7,omitempty"`
	Field8               *int64   `protobuf:"zigzag64,8,opt,name=Field8" json:"Field8,omitempty"`
	Field9               *uint32  `protobuf:"fixed32,9,opt,name=Field9" json:"Field9,omitempty"`
	Field10              *int32   `protobuf:"fixed32,10,opt,name=Field10" json:"Field10,omitempty"`
	Field11              *uint64  `protobuf:"fixed64,11,opt,name=Field11" json:"Field11,omitempty"`
	Field12              *int64   `protobuf:"fixed64,12,opt,name=Field12" json:"Field12,omitempty"`
	Field13              *bool    `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
	Field14              *string  `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
	Field15              []byte   `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NinOptNative) Descriptor

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

func (*NinOptNative) GetField1

func (m *NinOptNative) GetField1() float64

func (*NinOptNative) GetField10

func (m *NinOptNative) GetField10() int32

func (*NinOptNative) GetField11

func (m *NinOptNative) GetField11() uint64

func (*NinOptNative) GetField12

func (m *NinOptNative) GetField12() int64

func (*NinOptNative) GetField13

func (m *NinOptNative) GetField13() bool

func (*NinOptNative) GetField14

func (m *NinOptNative) GetField14() string

func (*NinOptNative) GetField15

func (m *NinOptNative) GetField15() []byte

func (*NinOptNative) GetField2

func (m *NinOptNative) GetField2() float32

func (*NinOptNative) GetField3

func (m *NinOptNative) GetField3() int32

func (*NinOptNative) GetField4

func (m *NinOptNative) GetField4() int64

func (*NinOptNative) GetField5

func (m *NinOptNative) GetField5() uint32

func (*NinOptNative) GetField6

func (m *NinOptNative) GetField6() uint64

func (*NinOptNative) GetField7

func (m *NinOptNative) GetField7() int32

func (*NinOptNative) GetField8

func (m *NinOptNative) GetField8() int64

func (*NinOptNative) GetField9

func (m *NinOptNative) GetField9() uint32

func (*NinOptNative) GoString

func (this *NinOptNative) GoString() string

func (*NinOptNative) Marshal

func (m *NinOptNative) Marshal() (dAtA []byte, err error)

func (*NinOptNative) MarshalTo

func (m *NinOptNative) MarshalTo(dAtA []byte) (int, error)

func (*NinOptNative) ProtoMessage

func (*NinOptNative) ProtoMessage()

func (*NinOptNative) Reset

func (m *NinOptNative) Reset()

func (*NinOptNative) Size

func (m *NinOptNative) Size() (n int)

func (*NinOptNative) String

func (m *NinOptNative) String() string

func (*NinOptNative) Unmarshal

func (m *NinOptNative) Unmarshal(dAtA []byte) error

func (*NinOptNative) XXX_DiscardUnknown added in v1.1.0

func (m *NinOptNative) XXX_DiscardUnknown()

func (*NinOptNative) XXX_Marshal added in v1.1.0

func (m *NinOptNative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NinOptNative) XXX_Merge added in v1.1.0

func (dst *NinOptNative) XXX_Merge(src proto.Message)

func (*NinOptNative) XXX_Size added in v1.1.0

func (m *NinOptNative) XXX_Size() int

func (*NinOptNative) XXX_Unmarshal added in v1.1.0

func (m *NinOptNative) XXX_Unmarshal(b []byte) error

type NinOptStruct

type NinOptStruct struct {
	Field1               *float64      `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
	Field2               *float32      `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
	Field3               *NinOptNative `protobuf:"bytes,3,opt,name=Field3" json:"Field3,omitempty"`
	Field4               *NinOptNative `protobuf:"bytes,4,opt,name=Field4" json:"Field4,omitempty"`
	Field6               *uint64       `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
	Field7               *int32        `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7,omitempty"`
	Field8               *NinOptNative `protobuf:"bytes,8,opt,name=Field8" json:"Field8,omitempty"`
	Field13              *bool         `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
	Field14              *string       `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
	Field15              []byte        `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*NinOptStruct) Descriptor

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

func (*NinOptStruct) GetField1

func (m *NinOptStruct) GetField1() float64

func (*NinOptStruct) GetField13

func (m *NinOptStruct) GetField13() bool

func (*NinOptStruct) GetField14

func (m *NinOptStruct) GetField14() string

func (*NinOptStruct) GetField15

func (m *NinOptStruct) GetField15() []byte

func (*NinOptStruct) GetField2

func (m *NinOptStruct) GetField2() float32

func (*NinOptStruct) GetField3

func (m *NinOptStruct) GetField3() *NinOptNative

func (*NinOptStruct) GetField4

func (m *NinOptStruct) GetField4() *NinOptNative

func (*NinOptStruct) GetField6

func (m *NinOptStruct) GetField6() uint64

func (*NinOptStruct) GetField7

func (m *NinOptStruct) GetField7() int32

func (*NinOptStruct) GetField8

func (m *NinOptStruct) GetField8() *NinOptNative

func (*NinOptStruct) GoString

func (this *NinOptStruct) GoString() string

func (*NinOptStruct) Marshal

func (m *NinOptStruct) Marshal() (dAtA []byte, err error)

func (*NinOptStruct) MarshalTo

func (m *NinOptStruct) MarshalTo(dAtA []byte) (int, error)

func (*NinOptStruct) ProtoMessage

func (*NinOptStruct) ProtoMessage()

func (*NinOptStruct) Reset

func (m *NinOptStruct) Reset()

func (*NinOptStruct) Size

func (m *NinOptStruct) Size() (n int)

func (*NinOptStruct) String

func (m *NinOptStruct) String() string

func (*NinOptStruct) Unmarshal

func (m *NinOptStruct) Unmarshal(dAtA []byte) error

func (*NinOptStruct) XXX_DiscardUnknown added in v1.1.0

func (m *NinOptStruct) XXX_DiscardUnknown()

func (*NinOptStruct) XXX_Marshal added in v1.1.0

func (m *NinOptStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NinOptStruct) XXX_Merge added in v1.1.0

func (dst *NinOptStruct) XXX_Merge(src proto.Message)

func (*NinOptStruct) XXX_Size added in v1.1.0

func (m *NinOptStruct) XXX_Size() int

func (*NinOptStruct) XXX_Unmarshal added in v1.1.0

func (m *NinOptStruct) XXX_Unmarshal(b []byte) error

type NinRepPackedNative

type NinRepPackedNative struct {
	Field1               []float64 `protobuf:"fixed64,1,rep,packed,name=Field1" json:"Field1,omitempty"`
	Field2               []float32 `protobuf:"fixed32,2,rep,packed,name=Field2" json:"Field2,omitempty"`
	Field3               []int32   `protobuf:"varint,3,rep,packed,name=Field3" json:"Field3,omitempty"`
	Field4               []int64   `protobuf:"varint,4,rep,packed,name=Field4" json:"Field4,omitempty"`
	Field5               []uint32  `protobuf:"varint,5,rep,packed,name=Field5" json:"Field5,omitempty"`
	Field6               []uint64  `protobuf:"varint,6,rep,packed,name=Field6" json:"Field6,omitempty"`
	Field7               []int32   `protobuf:"zigzag32,7,rep,packed,name=Field7" json:"Field7,omitempty"`
	Field8               []int64   `protobuf:"zigzag64,8,rep,packed,name=Field8" json:"Field8,omitempty"`
	Field9               []uint32  `protobuf:"fixed32,9,rep,packed,name=Field9" json:"Field9,omitempty"`
	Field10              []int32   `protobuf:"fixed32,10,rep,packed,name=Field10" json:"Field10,omitempty"`
	Field11              []uint64  `protobuf:"fixed64,11,rep,packed,name=Field11" json:"Field11,omitempty"`
	Field12              []int64   `protobuf:"fixed64,12,rep,packed,name=Field12" json:"Field12,omitempty"`
	Field13              []bool    `protobuf:"varint,13,rep,packed,name=Field13" json:"Field13,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*NinRepPackedNative) Descriptor

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

func (*NinRepPackedNative) GetField1

func (m *NinRepPackedNative) GetField1() []float64

func (*NinRepPackedNative) GetField10

func (m *NinRepPackedNative) GetField10() []int32

func (*NinRepPackedNative) GetField11

func (m *NinRepPackedNative) GetField11() []uint64

func (*NinRepPackedNative) GetField12

func (m *NinRepPackedNative) GetField12() []int64

func (*NinRepPackedNative) GetField13

func (m *NinRepPackedNative) GetField13() []bool

func (*NinRepPackedNative) GetField2

func (m *NinRepPackedNative) GetField2() []float32

func (*NinRepPackedNative) GetField3

func (m *NinRepPackedNative) GetField3() []int32

func (*NinRepPackedNative) GetField4

func (m *NinRepPackedNative) GetField4() []int64

func (*NinRepPackedNative) GetField5

func (m *NinRepPackedNative) GetField5() []uint32

func (*NinRepPackedNative) GetField6

func (m *NinRepPackedNative) GetField6() []uint64

func (*NinRepPackedNative) GetField7

func (m *NinRepPackedNative) GetField7() []int32

func (*NinRepPackedNative) GetField8

func (m *NinRepPackedNative) GetField8() []int64

func (*NinRepPackedNative) GetField9

func (m *NinRepPackedNative) GetField9() []uint32

func (*NinRepPackedNative) GoString

func (this *NinRepPackedNative) GoString() string

func (*NinRepPackedNative) Marshal

func (m *NinRepPackedNative) Marshal() (dAtA []byte, err error)

func (*NinRepPackedNative) MarshalTo

func (m *NinRepPackedNative) MarshalTo(dAtA []byte) (int, error)

func (*NinRepPackedNative) ProtoMessage

func (*NinRepPackedNative) ProtoMessage()

func (*NinRepPackedNative) Reset

func (m *NinRepPackedNative) Reset()

func (*NinRepPackedNative) Size

func (m *NinRepPackedNative) Size() (n int)

func (*NinRepPackedNative) String

func (m *NinRepPackedNative) String() string

func (*NinRepPackedNative) Unmarshal

func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error

func (*NinRepPackedNative) XXX_DiscardUnknown added in v1.1.0

func (m *NinRepPackedNative) XXX_DiscardUnknown()

func (*NinRepPackedNative) XXX_Marshal added in v1.1.0

func (m *NinRepPackedNative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NinRepPackedNative) XXX_Merge added in v1.1.0

func (dst *NinRepPackedNative) XXX_Merge(src proto.Message)

func (*NinRepPackedNative) XXX_Size added in v1.1.0

func (m *NinRepPackedNative) XXX_Size() int

func (*NinRepPackedNative) XXX_Unmarshal added in v1.1.0

func (m *NinRepPackedNative) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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