Rename CFI blocklist files.
Update language to comply with Android’s inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: build Change-Id: I3de274e58135660e102c276a9822a2ef2cd7cba8
This commit is contained in:
@@ -51,7 +51,7 @@ var (
|
|||||||
}
|
}
|
||||||
|
|
||||||
cfiCflags = []string{"-flto", "-fsanitize-cfi-cross-dso",
|
cfiCflags = []string{"-flto", "-fsanitize-cfi-cross-dso",
|
||||||
"-fsanitize-blacklist=external/compiler-rt/lib/cfi/cfi_blacklist.txt"}
|
"-fsanitize-blacklist=external/compiler-rt/lib/cfi/cfi_blocklist.txt"}
|
||||||
// -flto and -fvisibility are required by clang when -fsanitize=cfi is
|
// -flto and -fvisibility are required by clang when -fsanitize=cfi is
|
||||||
// used, but have no effect on assembly files
|
// used, but have no effect on assembly files
|
||||||
cfiAsflags = []string{"-flto", "-fvisibility=default"}
|
cfiAsflags = []string{"-flto", "-fvisibility=default"}
|
||||||
@@ -61,7 +61,7 @@ var (
|
|||||||
cfiStaticLibsMutex sync.Mutex
|
cfiStaticLibsMutex sync.Mutex
|
||||||
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_blocklist.txt"}
|
||||||
|
|
||||||
minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined",
|
minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined",
|
||||||
"-fno-sanitize-recover=integer,undefined"}
|
"-fno-sanitize-recover=integer,undefined"}
|
||||||
|
Reference in New Issue
Block a user