Skip to content

Commit

Permalink
fuzzing: fix oss-fuzz fuzzer (#30845)
Browse files Browse the repository at this point in the history
The fuzzer added recenly to fuzz the eth handler doesn't
build on oss-fuzz, because it also has dependencies in the peer_test.go.

This change fixes it, I hope, by adding that file also for preprocessing.
  • Loading branch information
holiman authored Dec 2, 2024
1 parent 5347280 commit 9848e9b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions oss-fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,6 @@ compile_fuzzer github.com/ethereum/go-ethereum/tests/fuzzers/secp256k1 \

compile_fuzzer github.com/ethereum/go-ethereum/eth/protocols/eth \
FuzzEthProtocolHandlers fuzz_eth_protocol_handlers \
$repo/eth/protocols/eth/handler_test.go
$repo/eth/protocols/eth/handler_test.go,$repo/eth/protocols/eth/peer_test.go


#compile_fuzzer tests/fuzzers/vflux FuzzClientPool fuzzClientPool
#compile_fuzzer tests/fuzzers/difficulty Fuzz fuzzDifficulty
#compile_fuzzer tests/fuzzers/les Fuzz fuzzLes

0 comments on commit 9848e9b

Please sign in to comment.