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 <[email protected]>
PR-URL: #51080
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
  • Loading branch information
AdamKorcz authored and targos committed May 12, 2024
1 parent 8d3b0b7 commit 4d50d51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fuzzers/fuzz_env.cc
Original file line number Diff line number Diff line change
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 4d50d51

Please sign in to comment.