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

Function RandomGlobalName

src/VariableSelector.cpp:139–144  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////// --------------------------------------------------------------

Source from the content-addressed store, hash-verified

137//////////////////////////////////////////////////////////////////////////////
138// --------------------------------------------------------------
139static string
140RandomGlobalName(void)
141{
142 assert(CGOptions::global_variables() && "no global variables!");
143 return gensym("g_");
144}
145
146// --------------------------------------------------------------
147static string

Callers 3

GenerateNewGlobalMethod · 0.85
create_random_arrayMethod · 0.85

Calls 1

gensymFunction · 0.85

Tested by

no test coverage detected