Dmitry Vyukov

Results 417 comments of Dmitry Vyukov

Thanks for the report! It seems to be broken after switch to go/types package for instrumentation. The bug affects packages that transitively use cgo (in your case it is net...

Good! You may also consider that the package is not changed after marshal/unmarshal roundtrip as: ``` go f := new(Frame) if err := f.UnmarshalBinary(data); err != nil { return 0...

The problem is that go/types does not support cgo well. I've filed https://github.com/golang/go/issues/12667 upstream. When it is fixed, we will need to figure out how to feed cgo-generated sources into...

@q6r Does exporting CGO_ENABLED=0 help in your case?

@q6r you can also consider libfuzzer (http://llvm.org/docs/LibFuzzer.html) which is way faster than AFL.

@obscuren do you want to test native code? can you stub native code in tests?

> I guess there would also be the problem of getting the initial corpus in to the format that gofuzz expects. Yes, probably. I don't know what is the right...

@tv42 I don't get the idea. Please elaborate.

@tv42 I see what you mean now. Yes, it is possible to do, and it is possible to do now. If you need an int and a string, you use...

> On second thought though I think go-fuzz does something a bit different, because I think it also instruments the code? Yes, it does. With the goal of increasing code...