mirror of
https://github.com/maride/afl-transmit.git
synced 2026-04-14 19:15:45 +00:00
Add compression between peers
This commit is contained in:
@@ -31,7 +31,11 @@ func WatchFuzzers(outputDirectory string) {
|
||||
for _, localFuzzDir := range localFuzzers {
|
||||
// Pack important parts of the fuzzer directory into a byte array
|
||||
fuzzerName := filepath.Base(localFuzzDir)
|
||||
packedFuzzer := logistic.PackFuzzer(fuzzerName, localFuzzDir)
|
||||
packedFuzzer, packerErr := logistic.PackFuzzer(fuzzerName, localFuzzDir)
|
||||
if packerErr != nil {
|
||||
log.Printf("Failed to pack fuzzer: %s", packerErr)
|
||||
continue
|
||||
}
|
||||
|
||||
// and send it to our peers
|
||||
net.SendToPeers(packedFuzzer)
|
||||
|
||||
Reference in New Issue
Block a user