Skip to content

Commit c5186a2

Browse files
bzbarsky-applePeterC1965
authored andcommittedAug 28, 2024
Add missing CFLAGS to instrument things for fuzzers. (project-chip#35082)
-fno-sanitize-coverage=pc-table is added since we are already using inline-8bit-counters and trace-cmp to provide instrumentation for the fuzzers. It also helps reduce memory usage and improve fuzzer performance.
1 parent b83ff15 commit c5186a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎build/config/compiler/BUILD.gn

+2
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ declare_args() {
415415
config("sanitize_address") {
416416
defines = []
417417
cflags = [
418+
"-fsanitize-coverage=inline-8bit-counters,trace-cmp",
419+
"-fno-sanitize-coverage=pc-table",
418420
"-fsanitize=address",
419421
"-fno-omit-frame-pointer",
420422
]

0 commit comments

Comments
 (0)
Please sign in to comment.