Skip to content

Commit e3253ce

Browse files
committed
purge llvm better, remove old patch, ignore container overflow
1 parent 652394b commit e3253ce

File tree

3 files changed

+6
-101
lines changed

3 files changed

+6
-101
lines changed

fuzzers/libfuzzer/builder.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FROM $parent_image
1717

1818
# Install dependencies.
1919
RUN apt-get update && \
20-
apt-get remove -y llvm-10 && \
20+
apt-get remove -y llvm-* clang-* && \
2121
apt-get install -y \
2222
build-essential \
2323
lsb-release wget software-properties-common gnupg && \

fuzzers/libfuzzer/fuzzer.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ def run_fuzzer(input_corpus, output_corpus, target_binary, extra_flags=None):
5353
os.makedirs(crashes_dir)
5454
os.makedirs(output_corpus)
5555

56+
if 'ASAN_OPTIONS' in os.environ:
57+
os.environ['ASAN_OPTIONS'] += ':detect_container_overflow=0'
58+
else:
59+
os.environ['ASAN_OPTIONS'] = 'detect_container_overflow=0'
60+
5661
# Enable symbolization if needed.
5762
# Note: if the flags are like `symbolize=0:..:symbolize=1` then
5863
# only symbolize=1 is respected.

fuzzers/libfuzzer/patch.diff

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)