Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
dim8art committed Aug 21, 2024
1 parent 9939751 commit e764f37
Show file tree
Hide file tree
Showing 5 changed files with 577 additions and 540 deletions.
4 changes: 3 additions & 1 deletion lib/Core/Executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4861,7 +4861,9 @@ bool Executor::reachedMaxSeedInstructions(ExecutionState *state) {
if (siit->maxInstructions &&
siit->maxInstructions >= state->steppedInstructions) {
state->coveredNew = siit->coveredNew;
state->coveredNewError = siit->coveredNewError;
if (siit->coveredNewError) {
state->coveredNewError = siit->coveredNewError;
}
seedMap->erase(state);
objectManager->unseed(state);
if (seedMap->size() == 0) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Core/SeedInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ExecutingSeed {
std::set<struct KTestObject *> used;
std::string path = "";
mutable std::deque<ref<box<bool>>> coveredNew;
mutable ref<box<bool>> coveredNewError;
mutable ref<box<bool>> coveredNewError = nullptr;
unsigned inputPosition = 0;

public:
Expand Down
Loading

0 comments on commit e764f37

Please sign in to comment.