File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/cdomain/value/cdomains/int Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ struct
175175 | _ , [] -> ([] ,{overflow= false ; underflow= false })
176176 | _ , _ -> norm_intvs ik @@ List. concat_map (fun (x ,y ) -> [op x y]) (BatList. cartesian_product x y)
177177
178+ let binary_op_concat_with_norm op (ik :ikind ) (x : t ) (y : t ) : t*overflow_info = match x, y with
179+ | [] , _ -> ([] ,{overflow= false ; underflow= false })
180+ | _ , [] -> ([] ,{overflow= false ; underflow= false })
181+ | _ , _ -> norm_intvs ik @@ List. concat_map (fun (x ,y ) -> op x y) (BatList. cartesian_product x y)
182+
178183 let binary_op_with_ovc (x : t ) (y : t ) op : t*overflow_info = match x, y with
179184 | [] , _ -> ([] ,{overflow= false ; underflow= false })
180185 | _ , [] -> ([] ,{overflow= false ; underflow= false })
You can’t perform that action at this time.
0 commit comments