| 67 | } |
| 68 | |
| 69 | const std::shared_ptr<Definition> getDef(unsigned Offset) { |
| 70 | |
| 71 | if (!GenHelper) |
| 72 | return nullptr; |
| 73 | for (auto DefMapIter : |
| 74 | GenHelper->getGenerator().getLoader().getInputReport().getDefMap()) { |
| 75 | const auto &Def = DefMapIter.second; |
| 76 | if (!Def || Def->Offset != Offset) |
| 77 | continue; |
| 78 | return Def; |
| 79 | } |
| 80 | |
| 81 | return nullptr; |
| 82 | } |
| 83 | |
| 84 | const Fuzzer *getFuzzer(std::string Name) const { |
| 85 | if (!GenHelper) |
no outgoing calls
no test coverage detected