Bug 1451859 - Part 2: Add sanitizer coverage to a handful of places relevant to IPC. r=posidron

This commit is contained in:
Alex Gaynor 2018-04-05 15:48:11 -04:00
parent c26d72178f
commit 76b53de450
7 changed files with 22 additions and 0 deletions

View File

@ -59,3 +59,6 @@ if CONFIG['ACCESSIBILITY']:
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')

View File

@ -183,3 +183,6 @@ if CONFIG['FUZZING'] and CONFIG['FUZZING_INTERFACES']:
TEST_DIRS += [
'fuzztest'
]
# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')

View File

@ -69,3 +69,7 @@ else:
else:
DEFINES['OS_LINUX'] = 1
# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')

View File

@ -151,3 +151,6 @@ DIRS += [
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
CXXFLAGS += ['-Wno-error=shadow']
# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')

View File

@ -231,3 +231,6 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
if CONFIG['NIGHTLY_BUILD']:
DEFINES['ASYNC_CONTENTPROC_LAUNCH'] = True
# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')

View File

@ -16,3 +16,6 @@ FINAL_LIBRARY = 'xul'
# We #include some things in the dom/plugins/ directory that rely on
# toolkit libraries.
CXXFLAGS += CONFIG['TK_CFLAGS']
# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')

View File

@ -51,3 +51,6 @@ LOCAL_INCLUDES += [
'/netwerk/base',
'/netwerk/protocol/http',
]
# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')