Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
don't print output of crash for go-fuzz engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevgeny Pats committed Oct 4, 2019
1 parent 4e0cfc6 commit 80a029e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const FuzzitEndpoint = "https://app.fuzzit.dev"
const Version = "v2.4.68"
const Version = "v2.4.69"

type Target struct {
Name string `firestore:"target_name"`
Expand Down
8 changes: 4 additions & 4 deletions client/gofuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ func (c *FuzzitClient) runGoFuzzFuzzing() error {
if !strings.Contains(fileName, ".") && !uniqueCrashes[fileName] && fileName != "crashers" {
uniqueCrashes[fileName] = true
log.Println("found new crash")
err := catLastBytes(fmt.Sprintf("workdir/crashers/%s.output", fileName), 1000)
if err != nil {
return err
}
//err := catLastBytes(fmt.Sprintf("workdir/crashers/%s.output", fileName), 1000)
//if err != nil {
// return err
//}

err = c.uploadGoFuzzCrash("workdir/crashers/" + fileName)
if err != nil {
Expand Down

0 comments on commit 80a029e

Please sign in to comment.