package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=af01aac256229f33a90a9fcbfed04b01e3097f154d4d124f006476d6387c6a66
sha512=2a93bfe16881adbc2d8dcbfe38c1e19cd24ca105d8e1eda13d02440f3002874ffe2957dfd937510765233a054a40568b0052db92e31d382a5bd215d1ec12565c
doc/goblint_cdomain_value/Offset/MakeLattice/index.html
Module Offset.MakeLattice
Make offset Lattice from lattice indices.
Parameters
module Idx : Index.LatticeSignature
include Offset_intf.Printable with type idx = Idx.t
type idx = Idx.tType of indices in offset.
include Printable.S with type t = idx Offset_intf.offs
type t = idx Offset_intf.offsval is_definite : t -> boolWhether offset has only definite integer indexing (and fields).
val contains_index : t -> boolWhether offset contains any indexing.
val to_cil : t -> GoblintCil.offsetConvert to CIL offset.
val to_exp : t -> GoblintCil.exp Offset_intf.offsConvert to Goblint offset with GoblintCil.exp indices.
val to_cil_offset : t -> GoblintCil.offsetVersion of to_cil which drops indices for ArrayDomain.
val cmp_zero_offset : t -> [ `MustZero | `MustNonzero | `MayZero ]Compare offset to zero offset.
Zero indices and first fields of a struct are in the same physical memory location as the outer object.
val type_of : base:GoblintCil.typ -> t -> GoblintCil.typType of the offset on the base type.
include Lattice.S with type t := t
include Lattice.PO with type t := t
include Printable.S with type t := t
val hash : t -> intval show : t -> stringval pretty : unit -> t -> Printable.Pretty.docval printXml : 'a BatInnerIO.output -> t -> unitval to_yojson : t -> Yojson.Safe.tval tag : t -> intUnique ID, given by HConsed, for context identification in witness
val arbitrary : unit -> t QCheck.arbitrarywiden x y assumes leq x y. Solvers guarantee this by calling widen old (join old new).
val of_exp : GoblintCil.exp Offset_intf.offs -> tConvert from Goblint offset with GoblintCil.exp indices.
Physical memory offset in bytes of the entire offset. Used for semantic_equal.