From 8750da62ccb9772a121126d5fffd393690c95758 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Mon, 7 Jun 2021 16:18:16 +0100 Subject: Use correctly constrained constants if the memory object is fully symbolic Before, only partially symbolic variables have been concretized. Now, every object that is not fully concrete is concretized correctly this includes fully symbolic objects. --- lib/Core/Memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Core') diff --git a/lib/Core/Memory.cpp b/lib/Core/Memory.cpp index 1e3c8922..0c9394bd 100644 --- a/lib/Core/Memory.cpp +++ b/lib/Core/Memory.cpp @@ -199,7 +199,7 @@ const UpdateList &ObjectState::getUpdates() const { void ObjectState::flushToConcreteStore(TimingSolver *solver, const ExecutionState &state) const { for (unsigned i = 0; i < size; i++) { - if (isByteKnownSymbolic(i)) { + if (!isByteConcrete(i)) { ref ce; bool success = solver->getValue(state.constraints, read8(i), ce, state.queryMetaData); -- cgit 1.4.1