package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=b729c94adb383a39aea32eb005c988dfd44b92af22ee6a4eedf4239542ac6c26
sha512=643b98770e5fe5644324c95c9ae3a9f698f25c8b11b298f0751d524e0b20af368b2a465fc8200b75a73d48fc9a053fd90f5e8920d4db070927f93188bb8687e0
doc/goblint.lib/Goblint_lib/IntDomain/OldDomainFacade/index.html
Module IntDomain.OldDomainFacade
Facade for IntDomain implementations that do not implement the interface where arithmetic functions take an ikind parameter.
Parameters
module Old : IkindUnawareS with type int_t = int64Signature
include B with type int_t = IntOps.BigIntOps.t with type t = Old.t
include Lattice.S with type t = Old.t
include Lattice.PO with type t = Old.t
include Printable.S with type t = Old.t
type t = Old.tval 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 bot : unit -> tval is_bot : t -> boolval top : unit -> tval is_top : t -> booltype int_t = IntOps.BigIntOps.tAccessing values of the ADT
val bot_of : GoblintCil.Cil.ikind -> tval top_of : GoblintCil.Cil.ikind -> tReturn a single integer value if the value is a known constant, otherwise * don't return anything.
val to_bool : t -> bool optionGive a boolean interpretation of an abstract value if possible, otherwise * don't return anything.
Gives a list representation of the excluded values from included range of bits if possible.
Creates an exclusion set from a given list of integers.
val is_excl_list : t -> boolChecks if the element is an exclusion set.
Gives a list representation of the included values if possible.
Cast
Transform an integer literal to your internal domain representation.
val of_bool : GoblintCil.Cil.ikind -> bool -> tTransform a known boolean value to the default internal representation. It * should follow C: of_bool true = of_int 1 and of_bool false = of_int 0.
val is_top_of : GoblintCil.Cil.ikind -> t -> boolval invariant_ikind :
GoblintCil.Cil.exp ->
GoblintCil.Cil.ikind ->
t ->
Invariant.tval project : GoblintCil.Cil.ikind -> PrecisionUtil.int_precision -> t -> tval arbitrary : GoblintCil.Cil.ikind -> t QCheck.arbitrary