LibJS: Disable ASAN during the conservative GC stack scan

This allows the JS fuzzer to survive garbage collection (so we can find
more interesting bugs!)

Found by oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29266
This commit is contained in:
Andreas Kling 2021-01-05 12:26:23 +01:00
parent fdd974b7ef
commit 51b880b038
Notes: sideshowbarker 2024-07-19 00:05:58 +09:00

View file

@ -124,7 +124,7 @@ void Heap::gather_roots(HashTable<Cell*>& roots)
#endif
}
void Heap::gather_conservative_roots(HashTable<Cell*>& roots)
__attribute__((no_sanitize("address"))) void Heap::gather_conservative_roots(HashTable<Cell*>& roots)
{
FlatPtr dummy;