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.
19 lines
246 B
Text
19 lines
246 B
Text
# Compiled binaries
|
|
out
|
|
|
|
fuzz-results
|
|
|
|
# Generated build config files
|
|
gyp-mac-tool
|
|
Makefile
|
|
*.Makefile
|
|
*.target.mk
|
|
|
|
# IDE files
|
|
.idea
|
|
*.xcodeproj
|
|
|
|
# Dev dependencies
|
|
test/fixtures/grammars/*
|
|
!test/fixtures/grammars/.gitkeep
|
|
externals/cpplint.py
|