File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -653,6 +653,9 @@ void run_concolic(const std::vector<std::string>& snapshot_messages, int max_ins
653
653
z3::model model = s.get_model ();
654
654
for (int i = 0 ; i < (int )model.size (); i++) {
655
655
z3::func_decl func = model[i];
656
+ if (func.name ().str ().find (" x_" ) == std::string::npos) {
657
+ continue ;
658
+ }
656
659
dbg_trace (" - %s = %s\n " , func.name ().str ().c_str (), model.get_const_interp (func).to_string ().c_str ());
657
660
m->symbolic_concrete_values [func.name ().str ()]
658
661
.concrete_value .value .uint64 =
@@ -707,6 +710,10 @@ void run_concolic(const std::vector<std::string>& snapshot_messages, int max_ins
707
710
z3::func_decl func = model[i];
708
711
/* std::cout << func.name() << " = "
709
712
<< model.get_const_interp(func) << std::endl;*/
713
+ if (func.name ().str ().find (" x_" ) == std::string::npos) {
714
+ continue ;
715
+ }
716
+ std::cout << model.get_const_interp (func).get_numeral_uint64 () << std::endl;
710
717
m->symbolic_concrete_values [func.name ().str ()].concrete_value .value .uint64 =
711
718
model.get_const_interp (func).get_numeral_uint64 ();
712
719
You can’t perform that action at this time.
0 commit comments