package goblint

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Printable.S
type t
val equal : t -> t -> bool
val hash : t -> int
val compare : t -> t -> int
val show : t -> string
val pretty : unit -> t -> GoblintCil.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 top : unit -> t

Unknown index.

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.