package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.3.0.tbz
sha256=b729c94adb383a39aea32eb005c988dfd44b92af22ee6a4eedf4239542ac6c26
sha512=643b98770e5fe5644324c95c9ae3a9f698f25c8b11b298f0751d524e0b20af368b2a465fc8200b75a73d48fc9a053fd90f5e8920d4db070927f93188bb8687e0

doc/goblint.lib/Goblint_lib/ValueDomain/Offs/index.html

Module ValueDomain.Offs

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.