gazprea-fuzzer-python/fuzzer.py
2023-11-18 10:59:00 -07:00

16 lines
421 B
Python

import yaml
import ast_parser
import ast_generator
class GazpreaFuzzer:
def __init__(self, config: str):
# parse a yaml config file with path in config
# and set the appropriate parameters
with open(config) as yaml_file:
settings: dict = yaml.safe_load(yaml_file)
self.settings = settings
self.parser = None
self.generator = ast_generator.AstGenerator()