Skip to content

Commit 43e6095

Browse files
author
Owen
committed
Skip unknown elements in value set
We should try to filter them out
1 parent b5b7a50 commit 43e6095

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/goto-symex/symex_main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,11 @@ void goto_symext::try_filter_value_sets(
617617
// used if the condition is false, and vice versa.
618618
for(const auto &value_set_element : value_set_elements)
619619
{
620+
if(value_set_element.id() == ID_unknown)
621+
{
622+
continue;
623+
}
624+
620625
const bool exclude_null_derefs = false;
621626
value_set_dereferencet::valuet possible_value =
622627
value_set_dereferencet::build_reference_to(

0 commit comments

Comments
 (0)