]> granicus.if.org Git - libvpx/commitdiff
vpx_dec_fuzzer: Add -fsanitize=fuzzer-no-link
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>
Wed, 12 Jun 2019 22:14:15 +0000 (15:14 -0700)
committerHarish Mahendrakar <harish.mahendrakar@ittiam.com>
Wed, 12 Jun 2019 22:18:50 +0000 (15:18 -0700)
Updated build instructions for vpx_dec_fuzzer to include
-fsanitize=fuzzer-no-link while configuring library

Change-Id: Id158256aa1cfe3d847720e8558cb5998ad4fd777

examples/vpx_dec_fuzzer.cc

index e3b0d2e0af0e7f60d69efcd35c7a4e5acf5e0220..ba5af93297d6b9ea0b4f27500df09d4ea267cfed 100644 (file)
@@ -32,7 +32,8 @@
  * Note --size-limit and VPX_MAX_ALLOCABLE_MEMORY are defined to avoid
  * Out of memory errors when running generated fuzzer binary
    $../libvpx/configure --disable-unit-tests --size-limit=12288x12288 \
-   --extra-cflags="-DVPX_MAX_ALLOCABLE_MEMORY=1073741824" \
+   --extra-cflags="-fsanitize=fuzzer-no-link \
+   -DVPX_MAX_ALLOCABLE_MEMORY=1073741824" \
    --disable-webm-io --enable-debug --disable-vp8-encoder \
    --disable-vp9-encoder --disable-examples