Skip to content

Commit

Permalink
tests/fuzzers/modexp: gofmt (ethereum#25972)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl authored and shekhirin committed Jun 6, 2023
1 parent df0225a commit 68863ab
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/fuzzers/modexp/modexp-fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ import (
"github.com/ethereum/go-ethereum/core/vm"
)

// Fuzz is the fuzzing entry-point.
// The function must return
// 1 if the fuzzer should increase priority of the
// given input during subsequent fuzzing (for example, the input is lexically
// correct and was parsed successfully);
// -1 if the input must not be added to corpus even if gives new coverage; and
// 0 otherwise
//
// - 1 if the fuzzer should increase priority of the
// given input during subsequent fuzzing (for example, the input is lexically
// correct and was parsed successfully);
// - -1 if the input must not be added to corpus even if gives new coverage; and
// - 0 otherwise
//
// other values are reserved for future use.
func Fuzz(input []byte) int {
if len(input) <= 96 {
Expand Down

0 comments on commit 68863ab

Please sign in to comment.