Module MaxIdUtil

Tracking of maximum CIL IDs in use.

type max_ids = {
  1. max_sid : int;
  2. max_vid : int;
}
val update_id_max : int Stdlib.ref -> int -> unit
val update_sids : int Stdlib.ref -> GoblintCil.global -> unit
val update_vids : int Stdlib.ref -> GoblintCil.global -> unit
val update_max_ids : sid_max:int Stdlib.ref -> vid_max:int Stdlib.ref -> GoblintCil.global -> unit
val get_file_max_ids : GoblintCil.Cil.file -> max_ids

Obtains the maximum sid and vid from a Cil.file