about summary refs log tree commit diff homepage
path: root/lib/Core/ExecutionState.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-04-11 19:24:59 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-06-22 16:10:25 +0900
commit497c3efd7cd3df4fa981bae87e8cdf7d8ade726a (patch)
treeb2b7531da1f04b88ce7f951ac139c16a93256d52 /lib/Core/ExecutionState.cpp
parent96050a9e7e2678512d15f179e45da60e51f52452 (diff)
downloadklee-497c3efd7cd3df4fa981bae87e8cdf7d8ade726a.tar.gz
Clone state more completely
Diffstat (limited to 'lib/Core/ExecutionState.cpp')
-rw-r--r--lib/Core/ExecutionState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Core/ExecutionState.cpp b/lib/Core/ExecutionState.cpp
index a38e717a..4e9067fa 100644
--- a/lib/Core/ExecutionState.cpp
+++ b/lib/Core/ExecutionState.cpp
@@ -105,6 +105,8 @@ ExecutionState::ExecutionState(const ExecutionState& state):
     cexPreferences(state.cexPreferences),
     arrayNames(state.arrayNames),
     openMergeStack(state.openMergeStack),
+    patchNo(state.patchNo),
+    formula(state.formula),
     steppedInstructions(state.steppedInstructions),
     instsSinceCovNew(state.instsSinceCovNew),
     unwindingInformation(state.unwindingInformation