update compile to reflect changes in introspector code (#7341)

This commit is contained in:
Navidem 2022-02-28 20:57:51 -08:00 committed by GitHub
parent 359cad3636
commit b75084c74c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -157,6 +157,8 @@ if [ "$SANITIZER" = "introspector" ]; then
ln -sf /usr/local/bin/llvm-ar /usr/bin/ar
ln -sf /usr/local/bin/llvm-ranlib /usr/bin/ranlib
export FUZZ_INTROSPECTOR=1
fi
echo "---------------------------------------------------------------"
@ -216,7 +218,8 @@ if [ "$SANITIZER" = "introspector" ]; then
fi
cd $SRC/inspector
python3 /fuzz-introspector/post-processing/main.py --target_dir=$SRC/inspector --git_repo_url=$GIT_REPO --coverage_url=$COVERAGE_URL
python3 /fuzz-introspector/post-processing/main.py correlate --binaries_dir=$OUT/
python3 /fuzz-introspector/post-processing/main.py report --target_dir=$SRC/inspector --git_repo_url=$GIT_REPO --coverage_url=$COVERAGE_URL --correlation_file=exe_to_fuzz_introspector_logs.yaml
cp -rf $SRC/inspector $OUT/inspector
fi