fuzzer

package
v0.0.0-...-cd796bd Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fuzz

func Fuzz(data []byte) int

Fuzz is the main entry point for the fuzzer package

Types

type LogPipe

type LogPipe struct {
	// contains filtered or unexported fields
}

func (*LogPipe) ReadAll

func (p *LogPipe) ReadAll() []byte

func (*LogPipe) Write

func (p *LogPipe) Write(data []byte) (int, error)

type MyConn

type MyConn struct {
	// contains filtered or unexported fields
}

func (*MyConn) Close

func (c *MyConn) Close() error

func (*MyConn) LocalAddr

func (c *MyConn) LocalAddr() net.Addr

func (*MyConn) Read

func (c *MyConn) Read(b []byte) (n int, err error)

func (*MyConn) RemoteAddr

func (c *MyConn) RemoteAddr() net.Addr

func (*MyConn) SetDeadline

func (c *MyConn) SetDeadline(t time.Time) error

func (*MyConn) SetReadDeadline

func (c *MyConn) SetReadDeadline(t time.Time) error

func (*MyConn) SetWriteDeadline

func (c *MyConn) SetWriteDeadline(t time.Time) error

func (*MyConn) Write

func (c *MyConn) Write(b []byte) (n int, err error)

type MyListener

type MyListener chan *MyConn

func (MyListener) Accept

func (ln MyListener) Accept() (c net.Conn, err error)

func (MyListener) Addr

func (ln MyListener) Addr() net.Addr

func (MyListener) Close

func (ln MyListener) Close() error

Jump to

Keyboard shortcuts

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