George Barnett c4682a9c5d Connect EmbeddedChannel when FuzzTesting (#1569) před 2 roky
..
FailCases e09cf661a5 Better handle client sending GOAWAY před 3 roky
Sources c4682a9c5d Connect EmbeddedChannel when FuzzTesting (#1569) před 2 roky
.gitignore f358115ed0 In-source fuzzing support (#1177) před 4 roky
Package.swift 2bf2a164ce Use a C executable for fuzz testing (#1492) před 3 roky
README.md 972c701444 Add fuzzing failure cases (#1190) před 4 roky

README.md

gRPC Swift: Fuzz Testing

This package contains binaries for running fuzz testing.

Building

Building the binary requires additional arguments be passed to the Swift compiler:

swift build \
  -Xswiftc -sanitize=fuzzer,address \
  -Xswiftc -parse-as-library

Note also that on macOS the Swift toolchain shipped with Xcode does not currently include fuzzing support and one must use a toolchain from swift.org. Building on macOS therefore requires the above command be run via xcrun:

xcrun --toolchain swift \
  swift build \
    -Xswiftc -sanitize=fuzzer,address \
    -Xswiftc -parse-as-library

Failures

The FailCases directory contains fuzzing test input which previously caused failures in gRPC.