| OLD | NEW |
| 1 # Getting Started with libFuzzer in Chrome | 1 # Getting Started with libFuzzer in Chrome |
| 2 | 2 |
| 3 *** note | 3 *** note |
| 4 **Prerequisites:** libFuzzer in Chrome is supported with GN on Linux only. | 4 **Prerequisites:** libFuzzer in Chrome is supported with GN on Linux only. |
| 5 *** | 5 *** |
| 6 | 6 |
| 7 This document will walk you through: | 7 This document will walk you through: |
| 8 | 8 |
| 9 * setting up your build enviroment. | 9 * setting up your build enviroment. |
| 10 * creating your first fuzzer. | 10 * creating your first fuzzer. |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 UBSAN_OPTIONS=halt_on_error=1 ./fuzzer <corpus_directory_or_single_testcase_path
> | 122 UBSAN_OPTIONS=halt_on_error=1 ./fuzzer <corpus_directory_or_single_testcase_path
> |
| 123 ``` | 123 ``` |
| 124 | 124 |
| 125 Other useful options (used by ClusterFuzz) are: | 125 Other useful options (used by ClusterFuzz) are: |
| 126 ```bash | 126 ```bash |
| 127 UBSAN_OPTIONS=symbolize=1:halt_on_error=1:print_stacktrace=1 ./fuzzer <corpus_di
rectory_or_single_testcase_path> | 127 UBSAN_OPTIONS=symbolize=1:halt_on_error=1:print_stacktrace=1 ./fuzzer <corpus_di
rectory_or_single_testcase_path> |
| 128 ``` | 128 ``` |
| 129 | 129 |
| 130 | 130 |
| 131 [Address Sanitizer]: http://clang.llvm.org/docs/AddressSanitizer.html | 131 [Address Sanitizer]: http://clang.llvm.org/docs/AddressSanitizer.html |
| 132 [Memory Sanitizer]: http://clang.llvm.org/docs/MemorySanitizer.html |
| 133 [Undefined Behavior Sanitizer]: http://clang.llvm.org/docs/UndefinedBehaviorSani
tizer.html |
| 132 [ClusterFuzz status]: clusterfuzz.md#Status-Links | 134 [ClusterFuzz status]: clusterfuzz.md#Status-Links |
| 133 [crbug/598448]: https://bugs.chromium.org/p/chromium/issues/detail?id=598448 | 135 [crbug/598448]: https://bugs.chromium.org/p/chromium/issues/detail?id=598448 |
| 134 [Efficient Fuzzer Guide]: efficient_fuzzer.md | 136 [Efficient Fuzzer Guide]: efficient_fuzzer.md |
| 135 [Maximum Testcase Length]: efficient_fuzzer.md#Maximum-Testcase-Length | 137 [Maximum Testcase Length]: efficient_fuzzer.md#Maximum-Testcase-Length |
| 136 [Memory Sanitizer]: http://clang.llvm.org/docs/MemorySanitizer.html | |
| 137 [Undefined Behavior Sanitizer]: http://clang.llvm.org/docs/UndefinedBehaviorSani
tizer.html | |
| 138 [url_parse_fuzzer.cc]: https://code.google.com/p/chromium/codesearch#chromium/sr
c/testing/libfuzzer/fuzzers/url_parse_fuzzer.cc | 138 [url_parse_fuzzer.cc]: https://code.google.com/p/chromium/codesearch#chromium/sr
c/testing/libfuzzer/fuzzers/url_parse_fuzzer.cc |
| OLD | NEW |