package goblint
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=999272bfbd3b9b96fcd58987b237ac6e9fa6d92ef935cc89f1ea2b4205185141
sha512=f3bf6ab71cf8c258d3290da4bf9f6fe42d7c671822e0efeb0fc50afdff078ab15e352237e5c1db31c5aa3a9d430691268ed2e5e00da10f2615835f672f91683d
doc/goblint.lib/IntDomain/Lift/index.html
Module IntDomain.Lift
Just like Value.Flat
except the order is preserved.
Parameters
module Base : IkindUnawareS
Signature
include B
with type t = [ `Bot | `Lifted of Base.t | `Top ]
with type int_t = Base.int_t
include Lattice.S with type t = [ `Bot | `Lifted of Base.t | `Top ]
include Lattice.PO with type t = [ `Bot | `Lifted of Base.t | `Top ]
include Printable.S with type t = [ `Bot | `Lifted of Base.t | `Top ]
val hash : t -> int
val show : t -> string
val pretty : unit -> t -> Pretty.doc
val printXml : 'a BatInnerIO.output -> t -> unit
val to_yojson : t -> Printable.json
val invariant : Invariant.context -> t -> Invariant.t
val tag : t -> int
Unique ID, given by HConsed, for context identification in witness
val arbitrary : unit -> t QCheck.arbitrary
widen x y
assumes leq x y
. Solvers guarantee this by calling widen old (join old new)
.
val bot : unit -> t
val is_bot : t -> bool
val top : unit -> t
val is_top : t -> bool
type int_t = Base.int_t
Accessing values of the ADT
val bot_of : Cil.ikind -> t
val top_of : Cil.ikind -> t
Return a single integer value if the value is a known constant, otherwise * don't return anything.
val is_int : t -> bool
Checks if the element is a definite integer value. If this function * returns true
, the above to_int
should return a real value.
val to_bool : t -> bool option
Give a boolean interpretation of an abstract value if possible, otherwise * don't return anything.
val is_bool : t -> bool
Checks if the element is a definite boolean value. If this function * returns true
, the above to_bool
should return a real value.
Gives a list representation of the excluded values if possible.
Creates an exclusion set from a given list of integers.
val is_excl_list : t -> bool
Checks if the element is an exclusion set.
Gives a list representation of the included values if possible.
Cast
val of_bool : bool -> t
Transform 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
.