A fuzzer for the Gazprea language
Go to file
2023-11-25 11:44:28 -07:00
ast_generator Tried and failed to add constraints, I'm going to try a different method 2023-11-25 09:03:30 -07:00
ast_parser Tried to deal with strange printing and created a problem 2023-11-24 09:31:18 -07:00
test Modified code style in ast_generator initializations 2023-11-23 12:51:13 -07:00
.gitignore Added extra options to the YAML 2023-11-24 08:06:22 -07:00
__init__.py Initial Commit 2023-11-17 16:57:53 -07:00
config.yaml Started to add the conditional checks 2023-11-25 08:52:16 -07:00
constants.py Tried to deal with strange printing and created a problem 2023-11-24 09:31:18 -07:00
fuzzer.py Generation errors fixed or gracefully handled 2023-11-24 15:45:38 -07:00
gazprea_fuzzer.py Generation errors fixed or gracefully handled 2023-11-24 15:45:38 -07:00
README.md Added future tests (failing with TODO) 2023-11-21 10:34:24 -07:00
tester_config.json Tried to deal with strange printing and created a problem 2023-11-24 09:31:18 -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