mirror of https://github.com/google/oss-fuzz.git
[Incomplete] Support building targets with HWAsan (#8190)
Note that these targets still fail immediately. Related: #8164
This commit is contained in:
parent
c28d437a4f
commit
97133fd942
|
@ -74,6 +74,7 @@ RUN curl -L https://github.com/bazelbuild/bazelisk/releases/download/v$BAZELISK_
|
|||
|
||||
# Default build flags for various sanitizers.
|
||||
ENV SANITIZER_FLAGS_address "-fsanitize=address -fsanitize-address-use-after-scope"
|
||||
ENV SANITIZER_FLAGS_hwaddress "-fsanitize=hwaddress -fuse-ld=lld -Wno-unused-command-line-argument"
|
||||
|
||||
# Set of '-fsanitize' flags matches '-fno-sanitize-recover' + 'unsigned-integer-overflow'.
|
||||
ENV SANITIZER_FLAGS_undefined "-fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr"
|
||||
|
|
|
@ -34,8 +34,14 @@ LANGUAGES_WITH_COVERAGE_SUPPORT = [
|
|||
'c', 'c++', 'go', 'jvm', 'python', 'rust', 'swift'
|
||||
]
|
||||
SANITIZERS = [
|
||||
'address', 'none', 'memory', 'undefined', 'thread', 'coverage',
|
||||
'introspector'
|
||||
'address',
|
||||
'none',
|
||||
'memory',
|
||||
'undefined',
|
||||
'thread',
|
||||
'coverage',
|
||||
'introspector',
|
||||
'hwaddress',
|
||||
]
|
||||
ARCHITECTURES = ['i386', 'x86_64', 'aarch64']
|
||||
ENGINES = ['libfuzzer', 'afl', 'honggfuzz', 'none', 'wycheproof']
|
||||
|
|
Loading…
Reference in New Issue