Commit graph

12 commits

Author SHA1 Message Date
ObserverOfTime
f50123a3ec refactor(scripts): clean up bash scripts 2024-07-28 10:12:55 +03:00
ObserverOfTime
799833f9cf build: use c11 everywhere
And improve the makefiles
2024-02-27 15:54:38 -05:00
Amaan Qureshi
f9e5696bcb
ci: rework fuzzer script 2023-07-24 00:44:44 -04:00
Max Brunsfeld
61814b468d Remove build-lib script, recommend make 2020-05-12 16:28:26 -07:00
Max Brunsfeld
7de36a33eb Remove halt_on_error API 2020-01-27 15:36:09 -08:00
Phil Turnbull
1a9c68aebf
Run highlighting logic in fuzzer 2019-10-24 10:44:34 -04:00
Phil Turnbull
d102c473e8 Remove invalid characters from grammar names 2019-02-05 13:37:59 +00:00
Phil Turnbull
ce040e21e1 trace-pc-guard is unsupported in newer versions of clang 2019-02-05 13:35:30 +00:00
Max Brunsfeld
8e198016d8 Try to make build-fuzzers script work w/ new structure & build process 2019-01-27 21:17:31 -08: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
c57f8ae0a6 Allow fuzzer CFLAGS to be overridden by envrionment 2017-09-14 11:04:19 -04: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