MCPcopy Create free account
hub / github.com/Samsung/UTopia / getDef

Method getDef

tests/generation/TestFuzzInput.cpp:69–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers 11

addInputMethod · 0.80
generateMethod · 0.80
FuzzInput.cppFile · 0.80
applyArrayPoliciesMethod · 0.80
updateArrayInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected