Skip to content

Commit 64c0c7d

Browse files
fixup! Set a limit size for array cell propagation
1 parent 52e46c3 commit 64c0c7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/goto-symex/field_sensitivity.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ exprt field_sensitivityt::get_fields(
179179
ssa_expr.type().id() == ID_array &&
180180
to_array_type(ssa_expr.type()).size().id() == ID_constant &&
181181
numeric_cast_v<mp_integer>(to_constant_expr(
182-
to_array_type(ssa_expr.type()).size())) <= max_field_sensitive_array_size)
182+
to_array_type(ssa_expr.type()).size()))
183+
<= max_field_sensitive_array_size)
183184
{
184185
const array_typet &type = to_array_type(ssa_expr.type());
185186
const std::size_t array_size =

0 commit comments

Comments
 (0)