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

Method config_var_init_reduction

src/Reducer.cpp:1183–1193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181}
1182
1183void
1184Reducer::config_var_init_reduction(string cmd)
1185{
1186 vector<string> strs;
1187 StringUtils::split_string(cmd, strs, ":");
1188 assert(strs.size() == 2);
1189
1190 const Variable* v = VariableSelector::find_var_by_name(strs[0]);
1191 assert(v);
1192 map_reduced_var_inits[v] = strs[1];
1193}
1194
1195string
1196Reducer::add_artificial_globals(const Type* t, string name)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected