From 2d298d2f49d9f5f3aa9abed8559942addff086e9 Mon Sep 17 00:00:00 2001 From: Ammar Askar Date: Tue, 18 Jun 2019 12:43:11 -0700 Subject: [PATCH] [cpython] Add -rdynamic to fuzzing targets (#2526) --- projects/cpython3/build.sh | 2 +- projects/cpython3/project.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/cpython3/build.sh b/projects/cpython3/build.sh index 97c536d9c..43259e93c 100644 --- a/projects/cpython3/build.sh +++ b/projects/cpython3/build.sh @@ -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 diff --git a/projects/cpython3/project.yaml b/projects/cpython3/project.yaml index 2e3677dd4..25ec319ca 100644 --- a/projects/cpython3/project.yaml +++ b/projects/cpython3/project.yaml @@ -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