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 79ea945 commit 508fd49Copy full SHA for 508fd49
src/goto-programs/goto_trace.cpp
@@ -778,7 +778,7 @@ std::vector<irep_idt> goto_tracet::get_all_property_ids() const
778
std::vector<irep_idt> property_ids;
779
for(const auto &step : steps)
780
{
781
- if(step.is_assert())
+ if(step.is_assert() && !step.cond_value)
782
property_ids.push_back(step.property_id);
783
}
784
return property_ids;
src/goto-programs/goto_trace.h
@@ -201,7 +201,7 @@ class goto_tracet
201
return steps.back();
202
203
204
- /// Returns the property IDs of all assertions in the trace
+ /// Returns the property IDs of all failed assertions in the trace
205
std::vector<irep_idt> get_all_property_ids() const;
206
};
207
0 commit comments