mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
add fuzzing instructions
This commit is contained in:
parent
a0dd18b0fc
commit
6ef44a22c8
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
/// Sort Fuzzer!
|
||||||
|
/// To fuzz: On linux, first install afl++.
|
||||||
|
/// Then build this with:
|
||||||
|
/// zig build-lib -static -fcompiler-rt -flto -fPIC src/fuzz_sort.zig
|
||||||
|
/// afl-clang-lto -o fuzz libfuzz_sort.a
|
||||||
|
/// Finally, run with afl
|
||||||
|
/// afl-fuzz -i input -o output -- ./fuzz
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const sort = @import("sort.zig");
|
const sort = @import("sort.zig");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue