mirror of https://github.com/google/oss-fuzz.git
[cpython] Add -rdynamic to fuzzing targets (#2526)
This commit is contained in:
parent
f16a6781fa
commit
2d298d2f49
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue