MCPcopy
hub / github.com/RUB-NDS/PRET / do_fuzz

Method do_fuzz

printer.py:639–653  ·  view source on GitHub ↗
(self, arg)

Source from the content-addressed store, hash-verified

637
638 # ------------------------[ fuzz <category> ]-------------------------
639 def do_fuzz(self, arg):
640 if arg in self.options_fuzz:
641 # enable global fuzzing
642 self.fuzz = True
643 if arg == "path":
644 self.fuzz_path()
645 if arg == "write":
646 self.fuzz_write()
647 if arg == "blind":
648 self.fuzz_blind()
649 self.chitchat("Fuzzing finished.")
650 # disable global fuzzing
651 self.fuzz = False
652 else:
653 self.help_fuzz()
654
655 def fuzz_path(self):
656 output().raw("Checking base paths first.")

Callers

nothing calls this directly

Calls 5

fuzz_pathMethod · 0.95
fuzz_writeMethod · 0.95
fuzz_blindMethod · 0.95
chitchatMethod · 0.95
help_fuzzMethod · 0.95

Tested by

no test coverage detected