package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=20d5b7332a9f6072ab9ba86c4a53b898eaf681286c56a8805c41850bbf3ddf41
sha512=7c7685cfcd9aa866bc40e813df2bfcb3c79b3d40e615d8d6d0939c5798b9d70dd7f2ba87a741f5ba0ce891e9d254627207fb28057f1f2f6611e4e0d128fd6a71
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.