panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x789c69] goroutine 23 [running]: github.com/google/syzkaller/prog.(*ConstArg).Size(0xc002c9f660, 0xc002c9f660) /syzkaller/gopath/src/github.com/google/syzkaller/prog/prog.go:50 +0x29 github.com/google/syzkaller/prog.foreachArgImpl(0x9a74c0, 0xc002ca4960, 0xc002ca6208, 0xc002ca4930, 0x0, 0x789c00, 0xc0020c1808) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:137 +0x1dc github.com/google/syzkaller/prog.foreachArgImpl(0x9a7500, 0xc002ca4930, 0xc002ca6208, 0x0, 0x0, 0xcaa2e8d6b847f600, 0xc0020c1808) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:151 +0x3a6 github.com/google/syzkaller/prog.ForeachArg(0xc002ca6200, 0xc0020c1808) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:120 +0x9e github.com/google/syzkaller/prog.getCompatibleResources(0xc002c7de80, 0x8f4b32, 0x7, 0xc0025ea760, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:901 +0xb9 github.com/google/syzkaller/prog.resourceCentric(0xcb5fe0, 0xc0025bc370, 0xc0025ea760, 0x3d00000000000001, 0x203000, 0xc0020c19f8, 0x40c698) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:849 +0xf8 github.com/google/syzkaller/prog.(*ResourceType).generate(0xcb5fe0, 0xc0025ea760, 0xc0025bc370, 0x10, 0x879220, 0xc0025ea720, 0xd5bca0, 0x10) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:681 +0x920 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0025ea760, 0xc0025bc370, 0x9ae600, 0xcb5fe0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:674 +0x506 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:623 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0025ea760, 0xc0025bc370, 0xc97f40, 0x1, 0x1, 0xc0020c1d58, 0x1f13b8d6, 0xbc8fcf380dec62b, 0xc0020c1d90, 0x789b3e, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:611 +0x107 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc0025ea760, 0xc0025bc370, 0xceb860, 0x136, 0xc0025bc370, 0xc002e77dc0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:555 +0xc6 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc0025ea760, 0xc0025bc370, 0xc002e77e00, 0x3, 0xc002e77e00, 0xc002e77f80, 0xc0025bc370) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:547 +0xb2 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc0020c1ec0, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:137 +0xf2 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc002e77e00, 0x9a1d40, 0xc002b487e0, 0x1e, 0xc002afff40, 0xc002634000, 0x1ef7, 0x2400) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:42 +0x29b main.(*Proc).loop(0xc002afff80) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:99 +0x434 created by main.main /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:259 +0x114c