Skip to content

Commit

Permalink
tarantool: introduce fuzz introspector config
Browse files Browse the repository at this point in the history
Exclude some directories.
  • Loading branch information
ligurio committed Sep 29, 2023
1 parent 82e6183 commit 8111917
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions projects/tarantool/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ mkdir -p $SRC/tarantool/build/icu && cd $SRC/tarantool/build/icu
--disable-tests --disable-samples --with-data-packaging=static
make install -j$(nproc)

# For fuzz-introspector, exclude all functions in the tests directory,
# libprotobuf-mutator and protobuf source code.
# See https://github.com/ossf/fuzz-introspector/blob/main/doc/Config.md#code-exclusion-from-the-report
export FUZZ_INTROSPECTOR_CONFIG=$SRC/fuzz_introspector_exclusion.config
cat > $FUZZ_INTROSPECTOR_CONFIG <<EOF
FILES_TO_AVOID
icu/
tarantool/test
tarantool/build/test
EOF

cd $SRC/tarantool

# Avoid compilation issue due to some undefined references. They are defined in
Expand Down

0 comments on commit 8111917

Please sign in to comment.