dundargoc
bf9154febe
docs: small fixes
...
Co-authored-by: Wang <bonede@qq.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-02-16 00:15:49 +01:00
Amaan Qureshi
f9e5696bcb
ci: rework fuzzer script
2023-07-24 00:44:44 -04:00
Andrew Helwer
89edb2ddca
fix(fuzzer): only use rule strings for fuzz dictionary
...
The `find_literals` function can also pick up tokens in `precedences`
2023-07-10 19:12:24 -04:00
intrigus-lgtm
0438ed03ff
Fix wrong file name ( #666 )
...
"build_fuzzers" -> "build-fuzzers".
It should be a hypen and not an underscore.
2020-07-06 13:47:10 -07:00
Max Brunsfeld
7de36a33eb
Remove halt_on_error API
2020-01-27 15:36:09 -08:00
Phil Turnbull
81756a8414
Simplify filename logic
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2019-10-24 13:19:51 -04:00
Phil Turnbull
1a9c68aebf
Run highlighting logic in fuzzer
2019-10-24 10:44:34 -04:00
Phil Turnbull
f019cb2f0e
Handle non-ascii characters when generating fuzzing dictionary
...
This caused a failure when generating the dictionary for `tree-sitter-agda`.
2019-10-24 10:16:25 -04:00
Phil Turnbull
6df2adc803
clang must be >= 7
2019-02-05 13:38:00 +00:00
Max Brunsfeld
0f2347b318
Just call the C lib 'the library' everywhere, don't call it a 'runtime'
2019-01-10 15:22:39 -08:00
Phil Turnbull
d7bea0a6f6
Remove unused logger
2018-05-22 09:20:53 -07:00
Phil Turnbull
8f31a5f02a
Remove unused import
2018-05-22 09:01:59 -07:00
Phil Turnbull
c41841f4e9
Assert ts_parser_set_language in fuzz driver
2018-05-22 08:40:36 -07:00
Phil Turnbull
c56c4affb2
Use ts_tree_root_node in fuzz driver
2018-05-22 08:19:56 -07:00
Max Brunsfeld
f0c7295d27
Update fuzz driver to use new API
2018-05-11 12:48:51 -07:00
Phil Turnbull
269b1a0864
Update repo for libFuzzer
...
libFuzzer has now been broken out from LLVM and can be built separately
2018-03-12 13:08:58 -07:00
Phil Turnbull
bc192d95ca
Build fuzzer in 'halt' and 'recover' modes
...
Build each language fuzzer in two modes (halt_on_error=true and
halt_on_error=false) and use different timeouts for each fuzzer.
Also merge the run-fuzzer and reproduce scripts so they use identical
values of ASAN_OPTIONS/UBSAN_OPTIONS/etc0
2018-03-02 10:13:13 -08:00
Phil Turnbull
798ef5e4dc
Add libFuzzer support
...
This adds support for fuzzing tree-sitter grammars with libFuzzer. This
currently only works on Linux because of linking issues on macOS. Breifly, the
AddressSanitizer library is dynamically linked into the fuzzer binary and
cannot be found at runtime if built with a compiler that wasn't provided by
Xcode(?). The runtime library is statically linked on Linux so this isn't a
problem.
2017-07-14 13:50:41 -07:00