MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / main

Function main

src/bin/fuzzer.rs:6–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4 fuzzer::Fuzzer, init_logger};
5
6fn main() -> Result<()> {
7 dotenv::dotenv().ok();
8 config::init_openai_env();
9 config::parse_config()?;
10 //config::Config::init_test("cJSON");
11 init_logger()?;
12 let mut fuzzer = Fuzzer::new()?;
13 fuzzer.fuzz_loop()?;
14 if get_config().fuzzer_run {
15 fuzzer.fuzzer_run()?;
16 }
17 //fuzzer.build_adg_from_seeds()?;
18 Ok(())
19}

Callers

nothing calls this directly

Calls 6

init_openai_envFunction · 0.85
parse_configFunction · 0.85
init_loggerFunction · 0.85
get_configFunction · 0.85
fuzz_loopMethod · 0.80
fuzzer_runMethod · 0.80

Tested by

no test coverage detected