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 52387ab commit c255a15Copy full SHA for c255a15
src/goto-instrument/contracts/assigns.cpp
@@ -138,6 +138,9 @@ goto_programt assigns_clauset::generate_havoc_code() const
138
for(const auto &target : global_write_set)
139
modifies.insert(target.address.object());
140
141
+ for(const auto &target : local_write_set)
142
+ modifies.insert(target.address.object());
143
+
144
goto_programt havoc_statements;
145
append_havoc_code(location, modifies, havoc_statements);
146
return havoc_statements;
0 commit comments