package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=99b78e6def71534d195eef9084baa26d8334b36084e120aa6afb300c9bf8afa6
sha512=f3162bd95a03c00358a2991f6152fc6169205bfb4c55e2c483e98cc3935673df9656d025b6f1ea0fa5f1bd0aee037d4f483966b0d2907e3fa9bf11a93a3392af
doc/goblint_cdomain_value/AddressDomain/AddressSet/index.html
Module AddressDomain.AddressSet
Address set lattice.
Parameters
module Mval : Mval.Latticemodule ID : IntDomain.ZSignature
module Addr : sig ... endinclude SetDomain.S with type elt = Addr.t
include Lattice.S
include Lattice.PO
include Printable.S
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 bot : unit -> tval is_bot : t -> boolval top : unit -> tval is_top : t -> booltype elt = Addr.tval empty : unit -> tval is_empty : t -> boolSee Set.S.remove.
NB! On set abstractions this is a strong removal, i.e. all subsumed elements are also removed.
See Set.S.diff.
NB! On set abstractions this is a strong removal, i.e. all subsumed elements are also removed.
See Set.S.iter.
On set abstractions this iterates only over canonical elements, not all subsumed elements.
See Set.S.map.
On set abstractions this maps only canonical elements, not all subsumed elements.
See Set.S.fold.
On set abstractions this folds only over canonical elements, not all subsumed elements.
See Set.S.for_all.
On set abstractions this checks only canonical elements, not all subsumed elements.
See Set.S.exists.
On set abstractions this checks only canonical elements, not all subsumed elements.
See Set.S.filter.
On set abstractions this filters only canonical elements, not all subsumed elements.
See Set.S.partition.
On set abstractions this partitions only canonical elements, not all subsumed elements.
val cardinal : t -> intSee Set.S.cardinal.
On set abstractions this counts only canonical elements, not all subsumed elements.
See Set.S.elements.
On set abstractions this lists only canonical elements, not all subsumed elements.
See Set.S.min_elt.
On set abstractions this chooses only a canonical element, not any subsumed element.
See Set.S.max_elt.
On set abstractions this chooses only a canonical element, not any subsumed element.
val null_ptr : tAddress set containing only the NULL pointer.
val unknown_ptr : tAddress set containing the unknown pointer, which is non-NULL.
val not_null : tAddress set containing the unknown pointer, which is non-NULL.
val top_ptr : tAddress set containing any pointer, NULL or not.
val is_null : t -> boolWhether address set contains only the NULL pointer.
val is_not_null : t -> boolWhether address set does not contain the NULL pointer.
val may_be_null : t -> boolWhether address set contains the NULL pointer.
val may_be_unknown : t -> boolWhether address set contains the unknown pointer.
val is_definite : t -> boolWhether address set is a single NULL pointer or mvalue that has only definite integer indexing (and fields).
val of_var : GoblintCil.varinfo -> tConvert from variable (without offset).
val to_var_may : t -> GoblintCil.varinfo listConvert to variables with any offset.
val to_var_must : t -> GoblintCil.varinfo listConvert to variables without offset.
val to_bool : t -> bool optionConvert to boolean if possible.
val type_of : t -> GoblintCil.typType of address set.
val of_string : string -> tConvert from string literal.
val to_string : t -> string listConvert to string literals.
val string_writing_defined : t -> bool