mirror of https://github.com/google/oss-fuzz.git
infra: add proj name to env for fuzz introspector (#7856)
* infra: add proj name to env for fuzz introspector Depends on https://github.com/ossf/fuzz-introspector/pull/327 Ref: https://github.com/ossf/fuzz-introspector/issues/317 * lint fix * update introspector commit Co-authored-by: Navidem <navid.emamdoost@gmail.com>
This commit is contained in:
parent
bc64e722b0
commit
a972a93b2a
|
@ -240,6 +240,7 @@ if [ "$SANITIZER" = "introspector" ]; then
|
|||
fi
|
||||
# Use the just-generated correlation file
|
||||
REPORT_ARGS="$REPORT_ARGS --correlation_file=exe_to_fuzz_introspector_logs.yaml"
|
||||
REPORT_ARGS="$REPORT_ARGS --name=$PROJECT_NAME"
|
||||
python3 /fuzz-introspector/post-processing/main.py report $REPORT_ARGS
|
||||
|
||||
cp -rf $SRC/inspector $OUT/inspector
|
||||
|
|
|
@ -36,7 +36,7 @@ RUN apt-get update && apt-get install -y wget sudo && \
|
|||
RUN apt-get update && apt-get install -y git && \
|
||||
git clone https://github.com/ossf/fuzz-introspector.git fuzz-introspector && \
|
||||
cd fuzz-introspector && \
|
||||
git checkout fd7a9ed71549bc4b7bf9dcca47b1b3fcc58ba791 && \
|
||||
git checkout 38e75235115a478fa924535f94ccbc8883f166f9 && \
|
||||
apt-get remove --purge -y git
|
||||
|
||||
COPY checkout_build_install_llvm.sh /root/
|
||||
|
|
|
@ -639,9 +639,8 @@ def build_fuzzers_impl( # pylint: disable=too-many-arguments,too-many-locals,to
|
|||
else:
|
||||
logging.info('Keeping existing build artifacts as-is (if any).')
|
||||
env = [
|
||||
'FUZZING_ENGINE=' + engine,
|
||||
'SANITIZER=' + sanitizer,
|
||||
'ARCHITECTURE=' + architecture,
|
||||
'FUZZING_ENGINE=' + engine, 'SANITIZER=' + sanitizer,
|
||||
'ARCHITECTURE=' + architecture, 'PROJECT_NAME=' + project.name
|
||||
]
|
||||
|
||||
_add_oss_fuzz_ci_if_needed(env)
|
||||
|
|
Loading…
Reference in New Issue