package goblint

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type idx = IndexDomain.t
type t = [
  1. | `NoOffset
    (*

    No offset. Marks the end of offset list.

    *)
  2. | `Field of CilType.Fieldinfo.t * idx Goblint_lib__Offset_intf.t
    (*

    Offset starting with a struct field.

    *)
  3. | `Index of idx * idx Goblint_lib__Offset_intf.t
    (*

    Offset starting with an array index.

    *)
]
val is_definite : t -> bool
val contains_index : t -> bool
val add_offset : t -> t -> t
val remove_offset : t -> t
val prefix : t -> t -> t option
val map_indices : (idx -> idx) -> t -> t
val top_indices : t -> t
val to_cil : t -> GoblintCil.offset
val to_exp : t -> GoblintCil.exp Goblint_lib__Offset_intf.t
val to_cil_offset : t -> GoblintCil.offset
val cmp_zero_offset : t -> [ `MayZero | `MustNonzero | `MustZero ]
val type_of : base:GoblintCil.typ -> t -> GoblintCil.typ
val equal : t -> t -> bool
val hash : t -> int
val compare : t -> t -> int
val show : t -> string
val pretty : unit -> t -> Printable.Pretty.doc
val printXml : 'a BatInnerIO.output -> t -> unit
val name : unit -> string
val to_yojson : t -> Yojson.Safe.t
val tag : t -> int
val arbitrary : unit -> t QCheck.arbitrary
val relift : t -> t
val leq : t -> t -> bool
val join : t -> t -> t
val meet : t -> t -> t
val widen : t -> t -> t
val narrow : t -> t -> t
val pretty_diff : unit -> (t * t) -> Lattice.Pretty.doc
val bot : unit -> t
val is_bot : t -> bool
val top : unit -> t
val is_top : t -> bool
val of_exp : GoblintCil.exp Goblint_lib__Offset_intf.t -> t
val to_index : ?typ:GoblintCil.typ -> t -> idx
val semantic_equal : typ1:GoblintCil.typ -> t -> typ2:GoblintCil.typ -> t -> bool option
OCaml

Innovation. Community. Security.