package goblint

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Idx : IdxDomain

Signature

type idx = Idx.t
module Offs : sig ... end
type t =
  1. | Addr of CilType.Varinfo.t * Offs.t
    (*

    Pointer to offset of a variable.

    *)
  2. | NullPtr
    (*

    NULL pointer.

    *)
  3. | UnknownPtr
    (*

    Unknown pointer. Could point to globals, heap and escaped variables.

    *)
  4. | StrPtr of string option
    (*

    String literal pointer. StrPtr None abstracts any string pointer

    *)
val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val hash : t -> int
include module type of struct include Printable.Std end
val trace_enabled : bool
val tag : 'a -> 'b
val relift : 'a -> 'b
val name : unit -> string
val to_group : t -> Basetype.Variables.group option
val from_var : CilType.Varinfo.t -> t
val from_var_offset : (CilType.Varinfo.t * Offs.t) -> t
val to_var : t -> CilType.Varinfo.t option
val to_var_may : t -> CilType.Varinfo.t option
val to_var_must : t -> CilType.Varinfo.t option
val to_var_offset : t -> (CilType.Varinfo.t * Offs.t) option
val from_string : string -> t
val to_string : t -> string option
val short_offs : [< `Field of GoblintCil.fieldinfo * 'b | `Index of Idx.t * 'c | `NoOffset ] as 'a -> string
val short_addr : (GoblintCil.varinfo * [< `Field of GoblintCil.fieldinfo * 'b & GoblintCil.fieldinfo * 'c | `Index of Idx.t * 'b & Idx.t * 'c | `NoOffset ] as 'a) -> string
val show : t -> string
include sig ... end
val pretty : unit -> t -> GoblintCil.Pretty.doc
val printXml : 'a BatInnerIO.output -> t -> unit
val to_yojson : t -> [> `String of string ]
exception Type_offset of GoblintCil.typ * string
val type_offset : GoblintCil.typ -> [ `Field of (GoblintCil.fieldinfo * [ `Field of 'a | `Index of (Idx.t * 'b) as 'c | `NoOffset ] as 'b) as 'a | `Index of 'c | `NoOffset ] -> GoblintCil.typ
val get_type_addr : (GoblintCil.varinfo * [ `Field of (GoblintCil.fieldinfo * [ `Field of 'a | `Index of (Idx.t * 'b) as 'c | `NoOffset ] as 'b) as 'a | `Index of 'c | `NoOffset ]) -> GoblintCil.typ
val get_type : t -> GoblintCil.typ
val is_zero_offset : Offs.t -> bool
val to_exp : (idx -> GoblintCil.exp) -> t -> GoblintCil.exp
val add_offsets : [< `Field of 'b * 'c | `Index of 'd * 'e | `NoOffset ] as 'a -> [> `Field of 'b * 'g | `Index of 'd * 'g ] as 'f -> 'g
val add_offset : t -> Offs.t -> t
val remove_offset : [< `Field of 'b * 'c | `Index of 'd * 'e | `NoOffset NoOffset ] as 'a -> [> `Field of 'g * 'f | `Index of 'h * 'f | `NoOffset ] as 'f
val arbitrary : unit -> t QCheck.arbitrary