Giter Site home page Giter Site logo

Comments (1)

ifratric avatar ifratric commented on July 25, 2024

Hi! At this time, there is no (easy) way to prepare input files manually. Instead, it is expected to start with an empty input corpus and let the grammar itself generate the initial set of samples. If you ran a session with a grammar before, and you want to run a session later using the same grammar, then you can re-use the samples generated earlier (located in out_directory/samples) as the input samples.

If you want the grammar to generate specific type of samples for the initial corpus (as opposed to just letting it run with the full grammar) you can

  • comment out rules you don't want
  • the fuzzer run and generate the samples according to the remaining rules
  • stop the fuzzer
  • uncomment the rest of the rules
  • resume the fuzzing session or start a new one using generated samples as input

Some context behind such design: parsing samples into their grammar representation is much harder than generating them and in fact there is no guaranteed unique way to parse a sample given a context-free grammar.

from jackalope.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.