1package indexer
2
3import (
4	"log"
5	"os"
6	"testing"
7
8	"github.com/mschoch/smat"
9)
10
11func TestCrasher(t *testing.T) {
12	// paste in your crash here:
13	crasher := []byte("\x00\x1f>]|\x9b\xba\xd9")
14	// turn on logger
15	smat.Logger = log.New(os.Stderr, "smat ", log.LstdFlags)
16	// fuzz the crasher input
17	smat.Fuzz(&smatContext{}, smat.ActionID('S'), smat.ActionID('T'),
18		actionMap, crasher)
19}
20