gazprea-fuzzer-python/fuzzer.py

16 lines
421 B
Python
Raw Normal View History

import yaml
import ast_parser
import ast_generator
2023-11-17 16:57:53 -07:00
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()