From 1500f2f980666ab610e95d707602ffe6b54daf74 Mon Sep 17 00:00:00 2001 From: Xinhao Yuan Date: Mon, 3 Feb 2025 11:07:36 -0800 Subject: [PATCH] #Centipede Always disable binary info when running with FuzzTest. PiperOrigin-RevId: 722725391 --- centipede/environment.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/centipede/environment.cc b/centipede/environment.cc index 3b2a7f38..da829b20 100644 --- a/centipede/environment.cc +++ b/centipede/environment.cc @@ -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 " @@ -307,7 +309,6 @@ void Environment::UpdateWithTargetConfig( if (config.only_replay) { load_shards_only = true; - populate_binary_info = false; } }