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 afcbe92 commit 050627fCopy full SHA for 050627f
src/goto-programs/graphml_witness.cpp
@@ -180,7 +180,9 @@ std::string graphml_witnesst::convert_assign_rec(
180
exprt clean_lhs=assign.lhs();
181
remove_l0_l1(clean_lhs);
182
std::string lhs=expr_to_string(ns, identifier, clean_lhs);
183
- if(lhs.find('$')!=std::string::npos)
+ if(lhs.find("#return_value")!=std::string::npos ||
184
+ (lhs.find('$')!=std::string::npos &&
185
+ lhs.find("return_value___VERIFIER_nondet_")==0U))
186
lhs="\\result";
187
188
result=lhs+" = "+expr_to_string(ns, identifier, clean_rhs)+";";
0 commit comments