@@ -68,7 +68,7 @@ test_debug_symbols() {
68
68
69
69
echo " ============ ${FUNC} : run for the first time, with empty seed corpus, with feature logging"
70
70
test_fuzz --log_features_shards=1 --workdir=" ${WD} " --seed=1 --num_runs=1000 \
71
- --symbolizer_path=" ${LLVM_SYMBOLIZER} " | tee " ${LOG} "
71
+ --populate_binary_info=true -- symbolizer_path=" ${LLVM_SYMBOLIZER} " | tee " ${LOG} "
72
72
centipede::assert_regex_in_file ' Custom mutator detected: will use it' " ${LOG} "
73
73
# Note: the test assumes LLVMFuzzerTestOneInput is defined on a specific line.
74
74
centipede::assert_regex_in_file " FUNC: LLVMFuzzerTestOneInput .*testing/test_fuzz_target.cc:71" " ${LOG} "
@@ -81,7 +81,8 @@ test_debug_symbols() {
81
81
# TODO(b/282845630): Passing `--num_runs=1` only to trigger telemetry dumping.
82
82
# Change to `--num_runs=0` after the bug is fixed.
83
83
test_fuzz --log_features_shards=1 --workdir=" ${WD} " --seed=1 --num_runs=1 \
84
- --telemetry_frequency=1 --symbolizer_path=" ${LLVM_SYMBOLIZER} " 2>&1 \
84
+ --telemetry_frequency=1 --populate_binary_info=true \
85
+ --symbolizer_path=" ${LLVM_SYMBOLIZER} " 2>&1 \
85
86
| tee -a " ${LOG} "
86
87
centipede::assert_regex_in_file " FUNC: SingleEdgeFunc" " ${LOG} "
87
88
centipede::assert_regex_in_file " FUNC: MultiEdgeFunc" " ${LOG} "
@@ -98,7 +99,7 @@ test_debug_symbols() {
98
99
echo " ============ ${FUNC} : run w/o the symbolizer, everything else should still work."
99
100
centipede::ensure_empty_dir " ${WD} "
100
101
test_fuzz --workdir=" ${WD} " --seed=1 --num_runs=1000 \
101
- --symbolizer_path=/dev/null | tee " ${LOG} "
102
+ --populate_binary_info=true -- symbolizer_path=/dev/null | tee " ${LOG} "
102
103
centipede::assert_regex_in_file " Symbolizer unspecified: debug symbols will not be used" " ${LOG} "
103
104
centipede::assert_regex_in_file " end-fuzz:" " ${LOG} "
104
105
}
@@ -167,12 +168,12 @@ test_pcpair_features() {
167
168
168
169
echo " ============ ${FUNC} : fuzz with --use_pcpair_features"
169
170
test_fuzz --workdir=" ${WD} " --use_pcpair_features --num_runs=10000 \
170
- --symbolizer_path=" ${LLVM_SYMBOLIZER} " | tee " ${LOG} "
171
+ --populate_binary_info=true -- symbolizer_path=" ${LLVM_SYMBOLIZER} " | tee " ${LOG} "
171
172
centipede::assert_regex_in_file " end-fuzz.*pair: [^0]" " ${LOG} "
172
173
173
174
echo " ============ ${FUNC} : fuzz with --use_pcpair_features w/o symbolizer"
174
175
test_fuzz --workdir=" ${WD} " --use_pcpair_features --num_runs=10000 \
175
- --symbolizer_path=/dev/null | tee " ${LOG} "
176
+ --populate_binary_info=true -- symbolizer_path=/dev/null | tee " ${LOG} "
176
177
centipede::assert_regex_in_file " end-fuzz.*pair: [^0]" " ${LOG} "
177
178
}
178
179
0 commit comments