This commit is contained in:
Antonis Geralis 2022-09-06 11:48:57 +03:00
parent 59b9b0a5b4
commit 87e4abf7e8
1 changed files with 3 additions and 1 deletions

View File

@ -149,7 +149,9 @@ This is only necessary for destructor-based types. `mutate`, `default` and `==`
### Dos and don'ts
- Don't `echo` in a fuzz target as it slows down execution speed.
- Prefer `-d:danger` for maximum performance, once you have a crash you can always recompile with `-d:debug`.
- Prefer `-d:danger` for maximum performance.
- Once you have a crash you can recompile with `-d:debug` and pass the crashing test case as parameter.
- With this line `when defined(dumpFuzzInput): debugEcho(x)` in a target and `-d:dumpFuzzInput`, observe the crashing input.
- You could compile without sanitizers, AddressSanitizer slows down by 2x, but it's not recommended.
### What's not supported