Skip to content

Commit

Permalink
doc: show how to build the fuzzers
Browse files Browse the repository at this point in the history
BUG=None

No-Try: true
Change-Id: I5a5007263c88678d76edc97fbcda96ff967071df
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/206420
Commit-Queue: Philipp Hancke <[email protected]>
Reviewed-by: Mirko Bonadei <[email protected]>
Cr-Commit-Position: refs/heads/master@{#33293}
  • Loading branch information
fippo authored and Commit Bot committed Feb 18, 2021
1 parent 86d3725 commit e11b4ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/native-code/development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ configuration untouched (stored in the args.gn file), do:
$ gn clean out/Default
```

To build the fuzzers residing in the [test/fuzzers][fuzzers] directory, use
```
$ gn gen out/fuzzers --args='use_libfuzzer=true optimize_for_fuzzing=true'
```
Depending on the fuzzer additional arguments like `is_asan`, `is_msan` or `is_ubsan_security` might be required.

See the [GN][gn-doc] documentation for all available options. There are also more
platform specific tips on the [Android][webrtc-android-development] and
[iOS][webrtc-ios-development] instructions.
Expand Down Expand Up @@ -268,3 +274,4 @@ Target name `turnserver`. Used for unit tests.
[rfc-5766]: https://tools.ietf.org/html/rfc5766
[m80-log]: https://webrtc.googlesource.com/src/+log/branch-heads/3987
[m80]: https://webrtc.googlesource.com/src/+/branch-heads/3987
[fuzzers]: https://chromium.googlesource.com/external/webrtc/+/refs/heads/master/test/fuzzers/

0 comments on commit e11b4ae

Please sign in to comment.