Skip to content
Snippets Groups Projects
Commit dd397fef authored by David Bühler's avatar David Bühler
Browse files

[Eva] Fixes a crash in the octagon domain.

parent ef31bbb6
No related branches found
No related tags found
No related merge requests found
......@@ -349,7 +349,7 @@ module Rewriting = struct
let min_bound = Eval_typ.range_lower_bound range in
let ival_range = Ival.inject_range (Some min_bound) (Some max_bound) in
let aux has_better_bound bound bound_kind alarms =
if has_better_bound ival ival_range >= 0
if Ival.is_bottom ival || has_better_bound ival ival_range >= 0
then
let alarm = Alarms.Overflow (overflow, expr, bound, bound_kind) in
Alarmset.set alarm Alarmset.True alarms
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment