| 3 | namespace ftg { |
| 4 | |
| 5 | std::shared_ptr<Fuzzer> Fuzzer::create(const Unittest &UT, |
| 6 | const InputAnalysisReport &InputReport) { |
| 7 | auto Result = std::make_shared<Fuzzer>(UT); |
| 8 | if (!Result) |
| 9 | return Result; |
| 10 | |
| 11 | Result->prepareFuzzInputs(InputReport); |
| 12 | return Result; |
| 13 | } |
| 14 | |
| 15 | Fuzzer::Fuzzer(const Unittest &UT) : Name(UT.getID()), UT(&UT) {} |
| 16 |
nothing calls this directly
no test coverage detected