@@ -121,7 +121,8 @@ ExecutionState::ExecutionState()
121
121
depth(0 ), ptreeNode(nullptr ), symbolics(), steppedInstructions(0 ),
122
122
steppedMemoryInstructions(0 ), instsSinceCovNew(0 ),
123
123
roundingMode(llvm::APFloat::rmNearestTiesToEven), coveredNew({}),
124
- forkDisabled(false ), prevHistory_(TargetsHistory::create()),
124
+ coveredNewError(new box<bool >(false )), forkDisabled(false ),
125
+ prevHistory_(TargetsHistory::create()),
125
126
history_(TargetsHistory::create()) {
126
127
setID ();
127
128
}
@@ -131,7 +132,8 @@ ExecutionState::ExecutionState(KFunction *kf)
131
132
depth(0 ), ptreeNode(nullptr ), symbolics(), steppedInstructions(0 ),
132
133
steppedMemoryInstructions(0 ), instsSinceCovNew(0 ),
133
134
roundingMode(llvm::APFloat::rmNearestTiesToEven), coveredNew({}),
134
- forkDisabled(false ), prevHistory_(TargetsHistory::create()),
135
+ coveredNewError(new box<bool >(false )), forkDisabled(false ),
136
+ prevHistory_(TargetsHistory::create()),
135
137
history_(TargetsHistory::create()) {
136
138
pushFrame (nullptr , kf);
137
139
setID ();
@@ -142,7 +144,8 @@ ExecutionState::ExecutionState(KFunction *kf, KBlock *kb)
142
144
depth(0 ), ptreeNode(nullptr ), symbolics(), steppedInstructions(0 ),
143
145
steppedMemoryInstructions(0 ), instsSinceCovNew(0 ),
144
146
roundingMode(llvm::APFloat::rmNearestTiesToEven), coveredNew({}),
145
- forkDisabled(false ), prevHistory_(TargetsHistory::create()),
147
+ coveredNewError(new box<bool >(false )), forkDisabled(false ),
148
+ prevHistory_(TargetsHistory::create()),
146
149
history_(TargetsHistory::create()) {
147
150
pushFrame (nullptr , kf);
148
151
setID ();
@@ -170,11 +173,11 @@ ExecutionState::ExecutionState(const ExecutionState &state)
170
173
unwindingInformation(state.unwindingInformation
171
174
? state.unwindingInformation->clone ()
172
175
: nullptr),
173
- coveredNew(state.coveredNew), forkDisabled (state.forkDisabled ),
174
- returnValue (state.returnValue ), gepExprBases (state.gepExprBases ),
175
- prevTargets_ (state.prevTargets_ ), targets_ (state.targets_ ),
176
- prevHistory_ (state.prevHistory_ ), history_ (state.history_ ),
177
- isTargeted_(state.isTargeted_) {
176
+ coveredNew(state.coveredNew), coveredNewError (state.coveredNewError ),
177
+ forkDisabled (state.forkDisabled ), returnValue (state.returnValue ),
178
+ gepExprBases (state.gepExprBases ), prevTargets_ (state.prevTargets_ ),
179
+ targets_ (state.targets_ ), prevHistory_ (state.prevHistory_ ),
180
+ history_(state.history_), isTargeted_(state.isTargeted_) {
178
181
queryMetaData.id = state.id ;
179
182
}
180
183
0 commit comments