Apply minimal runtime to the rest of ubsan.
Make sure that the minimal runtime gets applied to the rest of the sanitizers we might use from ubsan. Bug: 80195448 Test: Build success and checked build flags. Change-Id: I31b211b80bb1068c153a9b65454a2605933c9568
This commit is contained in:
@@ -50,7 +50,8 @@ var (
|
|||||||
hwasanStaticLibsMutex sync.Mutex
|
hwasanStaticLibsMutex sync.Mutex
|
||||||
|
|
||||||
intOverflowCflags = []string{"-fsanitize-blacklist=build/soong/cc/config/integer_overflow_blacklist.txt"}
|
intOverflowCflags = []string{"-fsanitize-blacklist=build/soong/cc/config/integer_overflow_blacklist.txt"}
|
||||||
minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer", "-fno-sanitize-recover=integer"}
|
minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined",
|
||||||
|
"-fno-sanitize-recover=integer,undefined"}
|
||||||
)
|
)
|
||||||
|
|
||||||
type sanitizerType int
|
type sanitizerType int
|
||||||
|
Reference in New Issue
Block a user