package goblint

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type field
type idx
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 -> Pretty.doc
val printXml : 'a BatInnerIO.output -> t -> unit
val name : unit -> string
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
val relift : t -> t
val null_ptr : unit -> t
val str_ptr : unit -> t
val is_null : t -> bool
val get_location : t -> Cil.location
val from_var : Cil.varinfo -> t

Creates an address from variable.

val from_var_offset : (Cil.varinfo * (field, idx) offs) -> t

Creates an address from a variable and offset.

val to_var_offset : t -> (Cil.varinfo * (field, idx) offs) list

Get the offset

val to_var : t -> Cil.varinfo list

Strips the varinfo out of the address representation.

val to_var_may : t -> Cil.varinfo list
val to_var_must : t -> Cil.varinfo list

Strips the varinfo out of the address representation.

val get_type : t -> Cil.typ

Finds the type of the address location.

OCaml

Innovation. Community. Security.