A fuzzer for the Gazprea language
Go to file
2023-11-23 12:51:13 -07:00
ast_generator Modified code style in ast_generator initializations 2023-11-23 12:51:13 -07:00
ast_parser Error handling for some strange NoneType errors 2023-11-22 20:33:34 -07:00
test Modified code style in ast_generator initializations 2023-11-23 12:51:13 -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 Modified code style in ast_generator initializations 2023-11-23 12:51:13 -07:00
constants.py Error handling for some strange NoneType errors 2023-11-22 20:33:34 -07:00
fuzzer.py Error handling for some strange NoneType errors 2023-11-22 20:33:34 -07:00
gazprea_fuzzer.py Fixed generation of declarations late in blocks 2023-11-23 08:36:02 -07:00
README.md Added future tests (failing with TODO) 2023-11-21 10:34:24 -07:00
unknown_tag.xml Error handling for some strange NoneType errors 2023-11-22 20:33:34 -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