A fuzzer for the Gazprea language
Go to file
2023-11-21 22:34:24 -07:00
ast_generator fixed bool ops to be in spec 2023-11-21 22:34:24 -07:00
ast_parser Refactor and bugfix for integer division 2023-11-21 21:39:04 -07:00
test Added future tests (failing with TODO) 2023-11-21 10:34:24 -07:00
.gitignore Fixed error that the fuzzer did not produce .out file 2023-11-21 08:07:34 -07:00
__init__.py Initial Commit 2023-11-17 16:57:53 -07:00
config.yaml Refactor and bugfix for integer division 2023-11-21 21:39:04 -07:00
constants.py Added Brackets 2023-11-21 20:40:50 -07:00
fuzzer.py Fixed error that the fuzzer did not produce .out file 2023-11-21 08:07:34 -07:00
gazprea_fuzzer.py Fixed error that the fuzzer did not produce .out file 2023-11-21 08:07:34 -07:00
README.md Added future tests (failing with TODO) 2023-11-21 10:34:24 -07:00

Gazprea Fuzzer

This is a hecking fuzzer. It does the thing.

Requirements

  • Python 3.11
  • English Words (pip install english-words) (so that you don't have an anurism while reading random names)

Usage

usage: gazprea_fuzzer.py [-h] [-b BATCH_SIZE] [--seed SEED] config_file file_name

Procedurally generate a test case for Gazprea

positional arguments:
  config_file           path to your configuration file
  file_name             name for the generated files

options:
  -h, --help            show this help message and exit
  -b BATCH_SIZE, --batch_size BATCH_SIZE
                        generate BATCH cases (fuzzer/source/nameX.in, /instream/..., /outputs/...)
  --seed SEED           rng seed

Configuration

See the default config file for all possible options and their default values