Closed manunio closed 1 year ago
Friendly Ping :)
Sorry for the delay!
I think I know what's going on. When the code is in oss_fuzz.go
, the coverage assumes it's part of the codebase. When it's part of the _test.go
file, Go expects all Fuzz*
functions to have a specific signature for the built-in fuzzing mechanism.
I just realized that the current proposal would add FuzzToml
to the public API of go-toml, which I'd like to avoid. Is there a way to either put it in a new /ossfuzz
directory (if you need to call the function directly) or /cmd/ossfuzz
if you'd rather use a binary.
Sorry for the delay!
I think I know what's going on. When the code is in
oss_fuzz.go
, the coverage assumes it's part of the codebase. When it's part of the_test.go
file, Go expects allFuzz*
functions to have a specific signature for the built-in fuzzing mechanism.I just realized that the current proposal would add
FuzzToml
to the public API of go-toml, which I'd like to avoid. Is there a way to either put it in a new/ossfuzz
directory (if you need to call the function directly) or/cmd/ossfuzz
if you'd rather use a binary.
Hi, Thanks for the feedback, I have made changes as per your request :)
Thank you!
fuzz_toml
fuzz_target from oss-fuzz to go-toml.