Set introspector env variable in compile (#8878)

This commit is contained in:
Navidem 2022-10-28 12:06:15 -07:00 committed by GitHub
parent 2e6e3e3eb4
commit 165ee30241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -154,6 +154,7 @@ if [ "$SANITIZER" = "introspector" ]; then
export CFLAGS="$CFLAGS -g"
export CXXFLAGS="$CXXFLAGS -g"
export FI_BRANCH_PROFILE=1
export FUZZ_INTROSPECTOR=1
# Move ar and ranlib
mv /usr/bin/ar /usr/bin/old-ar

View File

@ -316,7 +316,6 @@ def get_fuzz_introspector_steps( # pylint: disable=too-many-locals, too-many-ar
project.fuzzing_language,
config=config))
env = build_project.get_env(project.fuzzing_language, build)
env.append('FUZZ_INTROSPECTOR=1')
env.append(f'GIT_REPO={project.main_repo}')
env.append(f'COVERAGE_URL={coverage_url}')
env.append(f'PROJECT_NAME={project.name}')