mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: fix broken env fuzzer by initializing process
Signed-off-by: Adam Korczynski <adam@adalogics.com> PR-URL: https://github.com/nodejs/node/pull/51080 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
parent
261e88e269
commit
d9b61dbe89
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user