diff options
author | Abhishek Arya <inferno@chromium.org> | 2021-03-21 18:56:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-21 18:56:42 -0700 |
commit | 812b837d6b67322d78a9f46aab59b4af4c643ea1 (patch) | |
tree | 3f98b0aceeb58732e20d8652e434df14fad9e5c3 | |
parent | 856b16fb937f4c187fe2f72d5518336ffa786815 (diff) | |
download | oss-fuzz-812b837d6b67322d78a9f46aab59b4af4c643ea1.tar.gz |
Revert "Capstone: do not use flags for corpus building (#5464)" (#5465)
This reverts commit 856b16fb937f4c187fe2f72d5518336ffa786815.
-rwxr-xr-x | projects/capstone/build.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/projects/capstone/build.sh b/projects/capstone/build.sh index 1d49af92c..35720ea09 100755 --- a/projects/capstone/build.sh +++ b/projects/capstone/build.sh @@ -25,15 +25,13 @@ do # + make.sh overwrites CFLAGS cd build cmake -DCAPSTONE_BUILD_SHARED=0 .. - make -j$(nproc) + make -if [ "$FUZZING_ENGINE" != 'afl' ]; then cd $SRC/capstone$branch/bindings/python #better debug info sed -i -e 's/#print/print/' capstone/__init__.py ( export CFLAGS="" - export CXXFLAGS="" python setup.py install ) cd $SRC/capstone$branch/suite @@ -47,7 +45,6 @@ if [ "$FUZZING_ENGINE" != 'afl' ]; then cp fuzz_disasm.options $OUT/fuzz_disasm$branch.options cd ../../build -fi # build fuzz target FUZZO=CMakeFiles/fuzz_disasm.dir/suite/fuzz/fuzz_disasm.c.o if [ -f CMakeFiles/fuzz_disasm.dir/suite/fuzz/platform.c.o ]; then |