diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-05 12:26:23 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-05 12:27:45 +0100 |
commit | 51b880b0383089822f513330cd64f93b54b9f21c (patch) | |
tree | ac730e7635dc6262f9e09a984258b411e9a3d45b /Libraries | |
parent | fdd974b7ef4fb3f38c266f0f16d9b68f84f40bca (diff) | |
download | serenity-51b880b0383089822f513330cd64f93b54b9f21c.zip |
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
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibJS/Heap/Heap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Heap/Heap.cpp b/Libraries/LibJS/Heap/Heap.cpp index 099daf4185..8385b8ff1e 100644 --- a/Libraries/LibJS/Heap/Heap.cpp +++ b/Libraries/LibJS/Heap/Heap.cpp @@ -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; |