Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrickt/afl-tree-sitter
fuzzing tree-sitter grammars for fun (?) and profit (no)
https://github.com/patrickt/afl-tree-sitter
Last synced: 3 days ago
JSON representation
fuzzing tree-sitter grammars for fun (?) and profit (no)
- Host: GitHub
- URL: https://github.com/patrickt/afl-tree-sitter
- Owner: patrickt
- License: mit
- Created: 2021-10-05T17:22:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-05T17:50:27.000Z (about 3 years ago)
- Last Synced: 2024-12-24T12:30:15.011Z (5 days ago)
- Language: C
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tree-sitter + AFL = ???
Experimental harness hooking up [`afl-fuzz`](https://lcamtuf.coredump.cx/afl/) to tree-sitter grammars.
## Running
1. `git submodule update --init`
2. install `stack`
3. make sure `../tree-sitter/libtree-sitter.a` is present
4. `stack install shake`
5. `stack exec -- shake`
6. `mkdir findings`
7. `afl-fuzz -i tests -o findings -x dict/json.dict _build/run @@`