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

[Eva] Eval_terms: comments the function [contains_invalid_loc].

parent 7e4a0e44
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,8 @@ let find_or_alarm ~alarm_mode state loc =
track_alarms is_indeterminate alarm_mode;
V_Or_Uninitialized.get_v v
(* Returns true if [loc] contains a memory location definitely invalid
for a memory access of kind [access]. *)
let contains_invalid_loc access loc =
let valid_loc = Locations.valid_part access loc in
not (Locations.Location.equal loc valid_loc)
......
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