• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:add +full:- +full:architecture

1 ---
6 permalink: /advanced-topics/reproducing/
7 ---
9 # Reproducing OSS-Fuzz issues
12 You've been CCed on an OSS-Fuzz issue
13 ([examples](https://bugs.chromium.org/p/oss-fuzz/issues/list?can=1&q=Type%3ABug%2CBug-Security)).
17 - TOC
19 ---
26 target](http://libfuzzer.info/#fuzz-target).
31 }}/faq/#why-do-you-require-a-google-account-for-authentication)) that the bug
35 [integrated]({{ site.baseurl }}/advanced-topics/ideal-integration/)
41 For timeout bugs, add the `-timeout=65` argument. For OOM bugs, add the
42 `-rss_limit_mb=2560` argument. Read more on [how timeouts and OOMs are
43 handled]({{ site.baseurl }}/faq/#how-do-you-handle-timeouts-and-ooms).
52 OSS-Fuzz, then feed the reproducer input to the fuzz target ([how?]({{
53 site.baseurl }}/getting-started/new-project-guide/#prerequisites), [why?]({{
54 site.baseurl }}/faq/#why-do-you-use-docker)).
75 $ python infra/helper.py build_fuzzers --sanitizer <address/memory/undefined> \
76 --architecture <x86_64/i386> $PROJECT_NAME
86 * The `architecture` argument is only necessary if you want to specify
102 For example, to build the [libxml2](https://github.com/google/oss-fuzz/tree/master/projects/libxml2)
109 $ python infra/helper.py build_fuzzers --sanitizer undefined libxml2
119 --sanitizer <address/memory/undefined> $PROJECT_NAME <source_path>
125 - **Fix issue:** Write a patch to fix the issue in your local checkout, then
127 [Use gdb]({{ site.baseurl }}/advanced-topics/debugging/#debugging-fuzzers-with-gdb)
129 - **Submit fix:** Submit the fix in the project's repository. ClusterFuzz will
132 - **Improve fuzzing support:** Consider
133 … [improving your integration with OSS-Fuzz]({{ site.baseurl }}/advanced-topics/ideal-integration/).
142 $ python infra/helper.py build_fuzzers --sanitizer <address/memory/undefined> \
143 --engine <libfuzzer/afl/honggfuzz> --architecture <x86_64/i386> $PROJECT_NAME
144 $ python infra/helper.py check_build --sanitizer <address/memory/undefined> \
145 --engine <libfuzzer/afl/honggfuzz> --architecture <x86_64/i386> $PROJECT_NAME \
150 is probably an `x86_64` build and the `architecture` argument can be omitted.
153 [Code Coverage page]({{ site.baseurl }}/advanced-topics/code-coverage) to build