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.
2 parents d0eee83 + bbdfdb1 commit 14d35ccCopy full SHA for 14d35cc
src/util/simplify_expr.cpp
@@ -1880,7 +1880,7 @@ simplify_exprt::simplify_byte_update(const byte_update_exprt &expr)
1880
if(
1881
root_size.has_value() && *root_size >= 0 && val_size.has_value() &&
1882
*val_size >= 0 && offset_int.has_value() && *offset_int >= 0 &&
1883
- *offset_int + *val_size <= *root_size)
+ *offset_int * 8 + *val_size <= *root_size)
1884
{
1885
auto root_bits =
1886
expr2bits(root, expr.id() == ID_byte_update_little_endian, ns);
0 commit comments