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

Method initialize

src/DefaultProgramGenerator.cpp:64–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void
65DefaultProgramGenerator::initialize()
66{
67 if (DeltaMonitor::is_delta()) {
68 DeltaMonitor::CreateRndNumInstance(seed_);
69 }
70 else {
71 RandomNumber::CreateInstance(rDefaultRndNumGenerator, seed_);
72 }
73 if (CGOptions::get_reducer()) {
74 output_mgr_ = new ReducerOutputMgr();
75 } else {
76 output_mgr_ = DefaultOutputMgr::CreateInstance();
77 }
78 assert(output_mgr_);
79
80 ExtensionMgr::CreateExtension();
81}
82
83std::string
84DefaultProgramGenerator::get_count_prefix(const std::string &)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected