Skip to content

Commit d9cc8ac

Browse files
author
martin
committed
Fix a very subtle bug in the initialisation of VSD domain objects
The default state of a domain on construction should be bottom. This is documented in the ai_domaint interface. As the variable_sensitivity_domaint delegates the handling of bottom to the abstract_environment, it must be initialised to bottom in the default case.
1 parent 367d426 commit d9cc8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/variable-sensitivity/abstract_enviroment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,6 @@ abstract_environmentt::gather_statistics(const namespacet &ns) const
803803
return statistics;
804804
}
805805

806-
abstract_environmentt::abstract_environmentt() : bottom(false)
806+
abstract_environmentt::abstract_environmentt() : bottom(true)
807807
{
808808
}

0 commit comments

Comments
 (0)