Skip to content
Snippets Groups Projects
Commit a06efc74 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Eva] Fixes a comment in the memcpy builtin.

parent 3114b0f9
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ let imprecise_copy ~name ~src_loc ~dst_loc ~dst_lval state = ...@@ -163,7 +163,7 @@ let imprecise_copy ~name ~src_loc ~dst_loc ~dst_lval state =
return [bottom]. In this case, return the previously computed state *) return [bottom]. In this case, return the previously computed state *)
if Model.is_reachable new_state then new_state else state if Model.is_reachable new_state then new_state else state
(* Creates the location {loc + [0..size]} of size char. *) (* Creates the location {loc + [0..max_size-1]} of size char. *)
let char_location loc max_size = let char_location loc max_size =
let size_char = Bit_utils.sizeofchar () in let size_char = Bit_utils.sizeofchar () in
let max = Int.sub max_size size_char in let max = Int.sub max_size size_char in
......
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