node/test/fuzzers
Joyee Cheung 5d3e1b555c
src,test: unregister the isolate after disposal and before freeing
The order of these calls is important. When the Isolate is disposed,
it may still post tasks to the platform, so it must still be registered
for the task runner to be found from the map. After the isolate is torn
down, we need to remove it from the map before we can free the address,
so that when another Isolate::Allocate() is called, that would not be
allocated to the same address and be registered on an existing map
entry.

PR-URL: https://github.com/nodejs/node/pull/58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2025-05-02 15:10:39 +02:00
..
fuzz_ClientHelloParser.cc test: add fuzzer for ClientHelloParser 2024-05-12 19:28:44 +02:00
fuzz_env.cc src,test: unregister the isolate after disposal and before freeing 2025-05-02 15:10:39 +02:00
fuzz_helper.h build: fuzzer that targets node::LoadEnvironment() 2020-10-09 12:37:26 -04:00
fuzz_strings.cc src,test: unregister the isolate after disposal and before freeing 2025-05-02 15:10:39 +02:00