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

Commit 01d7510

Browse files
author
Yevgeny Pats
authored
Merge pull request #47 from bayandin/add-user-args
Add user args to libfuzzer corpus merging
2 parents 649474e + 2c63ddc commit 01d7510

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

client/agent.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ func (c *FuzzitClient) runlibFuzzerMerge() error {
118118
"merge",
119119
"corpus",
120120
}
121+
if c.currentJob.Args != "" {
122+
args = append(args, splitAndRemoveEmpty(c.currentJob.Args, " ")...)
123+
}
121124

122125
log.Println("Running merge with: ./fuzzer " + strings.Join(args, " "))
123126
cmd := exec.Command("./fuzzer",

0 commit comments

Comments
 (0)