From fedf1c7e76b12ebe1ef80385f79735935167a905 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Thu, 29 Dec 2016 22:06:54 -0800 Subject: [PATCH] Update reference.md --- docs/reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference.md b/docs/reference.md index a51fe343b..5e7a35f95 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -2,7 +2,7 @@ ## Sanitizers -Fuzzers are usualy built with one or more [sanitizer](https://github.com/google/sanitizers) enabled. +Fuzzers are usually built with one or more [sanitizer](https://github.com/google/sanitizers) enabled. You can select sanitizer configuration by specifying `$SANITIZER` build environment varible using `-e` option: ```bash @@ -15,7 +15,7 @@ Supported sanitizers: | ------------ | ---------- | `address` *(default)* | [Address Sanitizer](https://github.com/google/sanitizers/wiki/AddressSanitizer) with [Leak Sanitizer](https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer). | `undefined` | [Undefined Behavior Sanitizer](http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html). -| `memory` | [Memory Sanitizer](https://github.com/google/sanitizers/wiki/MemorySanitizer). *NOTE: It is critical that you build __all__ the code in your program (including libraries it uses) with memory sanitizer.* +| `memory` | [Memory Sanitizer](https://github.com/google/sanitizers/wiki/MemorySanitizer).
*NOTE: It is critical that you build __all__ the code in your program (including libraries it uses) with memory sanitizer. Otherwise, you will see false positive crashes due to inability to see initializations in uninstrumented code.* Compiler flag values for predefined configurations are specified in the [Dockerfile](../infra/base-images/base-builder/Dockerfile). These flags can be overriden by specifying `$SANITIZER_FLAGS` directly.