aboutsummaryrefslogtreecommitdiff
path: root/projects/bignum-fuzzer
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2019-05-01 11:09:55 -0400
committerGitHub <noreply@github.com>2019-05-01 11:09:55 -0400
commit3049c50d48a8e712889104db25113c2b0be00301 (patch)
treeb1ed868d18b8701642006fbc68e7aa80f23b5d02 /projects/bignum-fuzzer
parent22f5e3e0b8c6a865289df088a1b86e2165cf135b (diff)
downloadoss-fuzz-3049c50d48a8e712889104db25113c2b0be00301.tar.gz
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
Diffstat (limited to 'projects/bignum-fuzzer')
-rwxr-xr-xprojects/bignum-fuzzer/build.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/projects/bignum-fuzzer/build.sh b/projects/bignum-fuzzer/build.sh
index 23a3e5e2d..15732eba3 100755
--- a/projects/bignum-fuzzer/build.sh
+++ b/projects/bignum-fuzzer/build.sh
@@ -62,7 +62,7 @@ BASE_CXXFLAGS=$CXXFLAGS
cd $SRC/bignum-fuzzer
./config-modules.sh openssl go
CXXFLAGS="$BASE_CXXFLAGS -DBNFUZZ_FLAG_NO_NEGATIVE=1 -DBNFUZZ_FLAG_NUM_LEN=1200 -DBNFUZZ_FLAG_ALL_OPERATIONS=1"
-LIBFUZZER_LINK="-lFuzzingEngine" make
+LIBFUZZER_LINK="$LIB_FUZZING_ENGINE" make
# Copy OpenSSL/Go fuzzer to the designated location
cp $SRC/bignum-fuzzer/fuzzer $OUT/fuzzer_openssl_go_no_negative_num_len_1200_all_operations
@@ -72,7 +72,7 @@ cd $SRC/bignum-fuzzer
make clean
./config-modules.sh openssl rust
CXXFLAGS="$BASE_CXXFLAGS -DBNFUZZ_FLAG_NUM_LEN=1200 -DBNFUZZ_FLAG_ALL_OPERATIONS=1 -DBNFUZZ_FLAG_NUM_LOOPS=1"
-LIBFUZZER_LINK="-lFuzzingEngine" make
+LIBFUZZER_LINK="$LIB_FUZZING_ENGINE" make
# Copy OpenSSL/Rust fuzzer to the designated location
cp $SRC/bignum-fuzzer/fuzzer $OUT/fuzzer_openssl_rust_num_len_1200_all_operations_num_loops_1
@@ -82,7 +82,7 @@ cd $SRC/bignum-fuzzer
make clean
./config-modules.sh openssl cpp_boost
CXXFLAGS="$BASE_CXXFLAGS -DBNFUZZ_FLAG_NUM_LEN=1200 -DBNFUZZ_FLAG_ALL_OPERATIONS=1 -DBNFUZZ_FLAG_NUM_LOOPS=1"
-LIBFUZZER_LINK="-lFuzzingEngine" make
+LIBFUZZER_LINK="$LIB_FUZZING_ENGINE" make
# Copy OpenSSL/C++-Boost fuzzer to the designated location
cp $SRC/bignum-fuzzer/fuzzer $OUT/fuzzer_openssl_cpp_boost_num_len_1200_all_operations_num_loops_1
@@ -92,7 +92,7 @@ cd $SRC/bignum-fuzzer
make clean
./config-modules.sh openssl libgmp
CXXFLAGS="$BASE_CXXFLAGS -DBNFUZZ_FLAG_NUM_LEN=1200 -DBNFUZZ_FLAG_ALL_OPERATIONS=1 -DBNFUZZ_FLAG_NUM_LOOPS=1"
-LIBFUZZER_LINK="-lFuzzingEngine" make
+LIBFUZZER_LINK="$LIB_FUZZING_ENGINE" make
# Copy OpenSSL/libgmp fuzzer to the designated location
cp $SRC/bignum-fuzzer/fuzzer $OUT/fuzzer_openssl_libgmp_num_len_1200_all_operations_num_loops_1
@@ -122,7 +122,7 @@ cd $SRC/bignum-fuzzer
make clean
./config-modules.sh boringssl mbedtls
CXXFLAGS="$BASE_CXXFLAGS -DBNFUZZ_FLAG_NUM_LEN=100 -DBNFUZZ_FLAG_ALL_OPERATIONS=1 -DBNFUZZ_FLAG_NUM_LOOPS=1"
-LIBFUZZER_LINK="-lFuzzingEngine" make
+LIBFUZZER_LINK="$LIB_FUZZING_ENGINE" make
# Copy BoringSSL/mbedtls fuzzer to the designated location
cp $SRC/bignum-fuzzer/fuzzer $OUT/fuzzer_boringssl_mbedtls_num_len_100_all_operations_num_loops_1
@@ -132,7 +132,7 @@ cd $SRC/bignum-fuzzer
make clean
./config-modules.sh boringssl libmpdec
CXXFLAGS="$BASE_CXXFLAGS -DBNFUZZ_FLAG_NUM_LEN=100 -DBNFUZZ_FLAG_ALL_OPERATIONS=1 -DBNFUZZ_FLAG_NUM_LOOPS=1"
-LIBFUZZER_LINK="-lFuzzingEngine" make
+LIBFUZZER_LINK="$LIB_FUZZING_ENGINE" make
# Copy BoringSSL/libmpdec fuzzer to the designated location
cp $SRC/bignum-fuzzer/fuzzer $OUT/fuzzer_boringssl_libmpdec_num_len_100_all_operations_num_loops_1