package goblint
Build not yet checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=882f25e68cc14d42879ab4775fb2cf99aaac7e3cc70d58fa632b7edef304a731
sha512=dc90f0a685709688bbc13c80d0e2b01bf87cf2bbdc7f0c22632227ae32bee9377f3f1cb50f00cf564d6f1313c27fba5d811c53bb17a24972ab5aa570bf62278b
doc/goblint_cdomain_value/PreValueDomain/SizeDomain/index.html
Module PreValueDomain.SizeDomain
include IntDomain.ZDefault
include IntDomain_intf.BDefault with type int_t = Z.t
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.arbitraryReturn 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.
Gives a list representation of the included values if possible.
Transform an integer literal to your internal domain representation with the specified ikind.
val of_bool : bool -> tTransform a known boolean value to the default internal representation of the specified ikind. It * should follow C: of_bool true = of_int 1 and of_bool false = of_int 0.
val project : PrecisionUtil.int_precision -> t -> tval invariant : GoblintCil.Cil.exp -> t -> Invariant.tval of_index : IndexDomain.t -> tConvert an index to size, assuming it is non-negative.
This is useful for comparing an index with a size. A negative index check must be done separately, if needed. This conversion is more precise than size to index, which may overflow.