MCPcopy Create free account
hub / github.com/csmith-project/csmith / find_function_by_name

Function find_function_by_name

src/Function.cpp:103–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103const Function*
104find_function_by_name(const string& name)
105{
106 size_t i;
107 for (i=0; i<FuncList.size(); i++) {
108 if (FuncList[i]->name == name) {
109 return FuncList[i];
110 }
111 }
112 return NULL;
113}
114
115int
116find_function_in_set(const vector<const Function*>& set, const Function* f)

Callers 4

config_stm_reductionMethod · 0.85
config_expr_reductionMethod · 0.85
output_main_funcMethod · 0.85

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected