shithub: libvpx

Download patch

ref: 3ff6417a6ea8f9ef6e91ffc869324824e200714b
parent: d9f0106d9dd8b8adbfa716f32c787d81327de790
author: Harish Mahendrakar <[email protected]>
date: Wed Jun 12 11:14:15 EDT 2019

vpx_dec_fuzzer: Add -fsanitize=fuzzer-no-link

Updated build instructions for vpx_dec_fuzzer to include
-fsanitize=fuzzer-no-link while configuring library

Change-Id: Id158256aa1cfe3d847720e8558cb5998ad4fd777

--- a/examples/vpx_dec_fuzzer.cc
+++ b/examples/vpx_dec_fuzzer.cc
@@ -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