Skip to content

Filter value sets in symex #4288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip unknown elements in value set
We should try to filter them out
  • Loading branch information
Owen committed Mar 26, 2019
commit 7e3ca83d9a7f25586231b984ac6f8f368cfa22a3
5 changes: 5 additions & 0 deletions src/goto-symex/symex_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,11 @@ void goto_symext::try_filter_value_sets(
// used if the condition is false, and vice versa.
for(const auto &value_set_element : value_set_elements)
{
if(value_set_element.id() == ID_unknown)
{
continue;
}

const bool exclude_null_derefs = false;
value_set_dereferencet::valuet possible_value =
value_set_dereferencet::build_reference_to(
Expand Down