Skip to content

Commit

Permalink
test: fix broken env fuzzer by initializing process
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Korczynski <adam@adalogics.com>
PR-URL: #51080
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
  • Loading branch information
AdamKorcz committed May 12, 2024
1 parent 261e88e commit d9b61db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fuzzers/fuzz_env.cc
Expand Up @@ -44,6 +44,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) {
platform.reset(
new node::NodePlatform(kV8ThreadPoolSize, tracing_controller));
v8::V8::InitializePlatform(platform.get());
cppgc::InitializeProcess(platform->GetPageAllocator());
v8::V8::Initialize();
return 0;
}
Expand Down

0 comments on commit d9b61db

Please sign in to comment.