26 lines
498 B
Go
26 lines
498 B
Go
// +build ignore
|
|
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
"time"
|
|
|
|
"git.thisco.de/vbatts/fuzz-walker/walker"
|
|
"git.thisco.de/vbatts/fuzz-walker/walker/walkers/writeNumFuzz"
|
|
)
|
|
|
|
// NewFuzzer creates the fuzzer for this plugin
|
|
func NewFuzzer() (walker.Fuzzer, error) {
|
|
return &myFuzzer{}, nil
|
|
}
|
|
|
|
type myFuzzer struct{}
|
|
|
|
func (mf myFuzzer) Name() string {
|
|
return writeNumFuzz.Name
|
|
}
|
|
|
|
func (mf myFuzzer) Func(path string, info os.FileInfo, timeout time.Duration) error {
|
|
return writeNumFuzz.Func(path, info)
|
|
}
|