[cpython] Add -rdynamic to fuzzing targets (#2526)

This commit is contained in:
Ammar Askar 2019-06-18 12:43:11 -07:00 committed by Max Moroz
parent f16a6781fa
commit 2d298d2f49
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ do
-D _Py_FUZZ_ONE -D _Py_FUZZ_$fuzz_test -c -Wno-unused-function \
-o $WORK/$fuzz_test.o
# Link with C++ compiler to appease libfuzzer
$CXX $CXXFLAGS $WORK/$fuzz_test.o -o $OUT/$fuzz_test \
$CXX $CXXFLAGS -rdynamic $WORK/$fuzz_test.o -o $OUT/$fuzz_test \
$LIB_FUZZING_ENGINE $($OUT/bin/python*-config --ldflags --embed)
# Zip up and copy any seed corpus

View File

@ -2,8 +2,8 @@ homepage: "https://python.org/"
primary_contact: "gps@google.com"
auto_ccs:
- "alex.gaynor@gmail.com"
- "ammar@ammaraskar.com"
sanitizers:
- address
- memory
- undefined
experimental: True