package goblint

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Printable with type t = GoblintCil.exp
include Printable.S with type t = GoblintCil.exp
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 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.

val any : GoblintCil.exp

Special index expression for some unknown index. Weakly updates array in assignment. Used for exp.fast_global_inits.

val all : GoblintCil.exp

Special index expression for all indices. Strongly updates array in assignment. Used for Goblint-specific witness invariants.

OCaml

Innovation. Community. Security.