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

Function ExpressionFunctionProbability

src/ExpressionFuncall.cpp:59–66  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

57 *
58 */
59static bool
60ExpressionFunctionProbability(const CGContext &/*cg_context*/)
61{
62 if (Function::reach_max_functions_cnt() && !CGOptions::builtins()) {
63 return true;
64 }
65 return rnd_flipcoin(80);
66}
67
68/*
69 *

Callers 1

make_randomMethod · 0.85

Calls 1

rnd_flipcoinFunction · 0.85

Tested by

no test coverage detected