We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6425dea commit d7d9eb7Copy full SHA for d7d9eb7
src/goto-programs/graphml_witness.cpp
@@ -165,7 +165,9 @@ std::string graphml_witnesst::convert_assign_rec(
165
exprt clean_lhs=assign.lhs();
166
remove_l0_l1(clean_lhs);
167
std::string lhs=from_expr(ns, identifier, clean_lhs);
168
- if(lhs.find('$')!=std::string::npos)
+ if(lhs.find("#return_value")!=std::string::npos ||
169
+ (lhs.find('$')!=std::string::npos &&
170
+ lhs.find("return_value___VERIFIER_nondet_")==0U))
171
lhs="\\result";
172
173
result=lhs+" = "+from_expr(ns, identifier, clean_rhs)+";";
0 commit comments