mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
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.
20 lines
246 B
Plaintext
20 lines
246 B
Plaintext
# 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
|