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

Method backtracking

src/DepthSpec.cpp:365–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363 }
364
365int
366DepthSpec::backtracking(int depth_needed)
367{
368 DFSRndNumGenerator *impl = dynamic_cast<DFSRndNumGenerator*>(RandomNumber::GetRndNumGenerator());
369 if(impl->eager_backtracking(depth_needed))
370 return BAD_DEPTH;
371 else
372 return GOOD_DEPTH;
373}
374
375int
376DepthSpec::depth_guard_by_depth(int depth_needed)

Callers

nothing calls this directly

Calls 1

eager_backtrackingMethod · 0.80

Tested by

no test coverage detected