stubbing out more plugins
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
0f0ce2af37
commit
c02aa0e395
7 changed files with 171 additions and 62 deletions
28
walker/walkers/ioctlFuzz/plugin.go
Normal file
28
walker/walkers/ioctlFuzz/plugin.go
Normal file
|
@ -0,0 +1,28 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"git.thisco.de/vbatts/fuzz-walker/walker"
|
||||
)
|
||||
|
||||
// NewFuzzer creates the fuzzer for this plugin
|
||||
func NewFuzzer() (walker.Fuzzer, error) {
|
||||
return &myFuzzer{}, nil
|
||||
}
|
||||
|
||||
type myFuzzer struct{}
|
||||
|
||||
func (mf myFuzzer) Name() string {
|
||||
return "ioctlFuzz"
|
||||
}
|
||||
|
||||
func (mf myFuzzer) Func(path string, info os.FileInfo, timeout time.Duration) error {
|
||||
// check whether it is a device file
|
||||
//if !info.Mode().IsRegular() {
|
||||
// return nil
|
||||
//}
|
||||
|
||||
return nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue