Skip to content

Commit

Permalink
#Centipede Always disable binary info when running with FuzzTest.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 722725391
  • Loading branch information
xinhaoyuan authored and copybara-github committed Feb 3, 2025
1 parent 8b6e480 commit 142dac2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion centipede/environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ void Environment::ReadKnobsFileIfSpecified() {

void Environment::UpdateWithTargetConfig(
const fuzztest::internal::Configuration &config) {
// FuzzTest does not use features that need binary info.
populate_binary_info = false;
if (config.jobs != 0) {
CHECK(j == Default().j || j == config.jobs)
<< "Value for --j is inconsistent with the value for jobs in the "
Expand Down Expand Up @@ -307,7 +309,6 @@ void Environment::UpdateWithTargetConfig(

if (config.only_replay) {
load_shards_only = true;
populate_binary_info = false;
}
}

Expand Down

0 comments on commit 142dac2

Please sign in to comment.