Skip to content

Commit ade3234

Browse files
authored
Merge branch 'google:master' into upstream-gitpython
2 parents b210fb2 + e6daa20 commit ade3234

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

projects/bitcoin-core/build.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ sed -i "s|PROVIDE_FUZZ_MAIN_FUNCTION|NEVER_PROVIDE_MAIN_FOR_OSS_FUZZ|g" "./confi
5454
# * --enable-fuzz, see https://github.com/bitcoin/bitcoin/blob/master/doc/fuzzing.md
5555
# * CONFIG_SITE, see https://github.com/bitcoin/bitcoin/blob/master/depends/README.md
5656
if [ "$SANITIZER" = "memory" ]; then
57-
CONFIG_SITE="$PWD/depends/$BUILD_TRIPLET/share/config.site" ./configure --enable-fuzz SANITIZER_LDFLAGS="$LIB_FUZZING_ENGINE" --disable-hardening
57+
# _FORTIFY_SOURCE is not compatible with MSAN.
58+
export CPPFLAGS="${CPPFLAGS} -U_FORTIFY_SOURCE"
59+
CONFIG_SITE="$PWD/depends/$BUILD_TRIPLET/share/config.site" ./configure --enable-fuzz SANITIZER_LDFLAGS="$LIB_FUZZING_ENGINE"
5860
else
5961
CONFIG_SITE="$PWD/depends/$BUILD_TRIPLET/share/config.site" ./configure --enable-fuzz SANITIZER_LDFLAGS="$LIB_FUZZING_ENGINE"
6062
fi

projects/cloud-hypervisor/project.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
homepage: "https://github.com/cloud-hypervisor/cloud-hypervisor"
22
language: rust
3-
primary_contact: "sebastien.boeuf@intel.com"
3+
primary_contact: "chen.bo@intel.com"
44
auto_ccs:
55
66
77
88
9-
109
1110
1211

projects/pygments/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ RUN git clone \
2121
--branch master \
2222
https://github.com/pygments/pygments.git
2323

24+
RUN python3 -m pip install --upgrade pip
25+
2426
WORKDIR pygments
2527

2628
RUN git clone --depth 1 https://github.com/google/fuzzing

projects/pygments/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
################################################################################
1717

1818
# Build and install project (using current CFLAGS, CXXFLAGS).
19-
pip3 install .
19+
python3 -m pip install .
2020

2121
# Build fuzzers in $OUT.
2222
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do

projects/suricata/build.sh

+1-6
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ then
8686
fi
8787

8888
fuzz_branches=("")
89-
if [[ "$SANITIZER" != "memory" ]]
89+
if [[ "$SANITIZER" != "memory" ]] && [[ ! -v CIFUZZ ]]
9090
then
9191
fuzz_branches+=("6")
9292
fuzz_branches+=("7")
@@ -131,11 +131,6 @@ cat generic.dict >> $OUT/fuzz_applayerparserparse$branch.dict
131131
cat generic.dict >> $OUT/fuzz_sigpcap$branch.dict
132132
cat generic.dict >> $OUT/fuzz_sigpcap_aware$branch.dict
133133

134-
df
135-
# clean to leave enough space for CIFuzz
136-
make clean
137-
df
138-
139134
# build corpuses
140135
# default configuration file
141136
zip -r $OUT/fuzz_confyamlloadstring"$branch"_seed_corpus.zip suricata.yaml

0 commit comments

Comments
 (0)