package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.5.0.tbz
sha256=452d8491527aea21f2cbb11defcc14ba0daf9fdb6bdb9fc0af73e56eac57b916
sha512=1993cd45c4c7fe124ca6e157f07d17ec50fab5611b270a434ed1b7fb2910aa85a8e6eaaa77dad770430710aafb2f6d676c774dd33942d921f23e2f9854486551

doc/goblint_cdomain_value/Offset/Index/Unit/index.html

Module Index.Unit

Unit index. Usually represents an arbitrary index.

include Printable.S with type t = unit
type t = unit
val equal : t -> t -> bool
val hash : t -> int
val compare : t -> t -> int
val show : t -> string
val pretty : unit -> t -> Printable.Pretty.doc
val printXml : 'a BatInnerIO.output -> t -> unit
val name : unit -> string
val to_yojson : t -> Yojson.Safe.t
val tag : t -> int

Unique ID, given by HConsed, for context identification in witness

val arbitrary : unit -> t QCheck.arbitrary
val relift : t -> t
val equal_to : Z.t -> t -> [ `Eq | `Neq | `Top ]

Check semantic equality of an integer and the index.

  • returns

    `Eq if definitely equal, `Neq if definitely not equal, `Top if unknown.

val to_int : t -> Z.t option

Convert to definite integer if possible.

OCaml

Innovation. Community. Security.