Skip to content

vigoux/tree-sitter-fuzz-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tree-sitter fuzzing action

Options:

language:
  description: "Name of the language (in your grammar.js)"
  required: true
external-scanner:
  description: "Path to your external scanner"
timeout:
  description: "Time to wait if the fuzzer hangs"
  default: 10
time:
  description: "Fuzzing time"
  default: 120

Example configuration (for the vim parser):

name: Fuzz parser

# Run this workflow on changes to the external scanner
on:
  push:
    paths:
      - src/scanner.c
  pull_request:
    paths:
      - src/scanner.c

jobs:
  test:
    name: Parser fuzzing
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: vigoux/tree-sitter-fuzz-action@v1
        with:
          language: vim
          external-scanner: src/scanner.c
          time: 60
          timeout: 5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

No packages published