Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// Name is the identifier sent to the server.
Name string
// Process is the callback function used to process fuzzing inputs.
Process ProcessFunc
// contains filtered or unexported fields
}
Client encapsulates the client-side behavior for connecting to the fuzzing server.
func NewClient ¶
func NewClient(name string, process ProcessFunc) *Client
NewClient creates a new Client with the given name and processing function.
func (*Client) Connect ¶
Connect establishes a connection to the fuzzing server, sends the client name, attaches to the shared memory segments, and reads the fuzzing method from the server.
type ProcessFunc ¶
ProcessFunc defines the signature for functions that process fuzzing inputs. Users of the package must supply their own function.
type Server ¶
type Server struct {
// Method is the name of the fuzzing method that will be sent to clients.
Method string
// InputProvider is a function that returns a slice of fuzzing inputs.
InputProvider func() [][]byte
// contains filtered or unexported fields
}
Server encapsulates the state of the fuzzing server.
func NewServer ¶
NewServer returns a new Server instance with the given method name and input provider.
Click to show internal directories.
Click to hide internal directories.