package goblint

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

Domains for variable offsets, i.e. array indices and struct fields.

type nonrec 'i t = [
  1. | `NoOffset
    (*

    No offset. Marks the end of offset list.

    *)
  2. | `Field of CilType.Fieldinfo.t * 'i Goblint_lib__.Offset_intf.t
    (*

    Offset starting with a struct field.

    *)
  3. | `Index of 'i * 'i Goblint_lib__.Offset_intf.t
    (*

    Offset starting with an array index.

    *)
]

List of nested offsets.

  • parameter 'i

    Type of indices.

val equal : ('i -> 'i -> Ppx_deriving_runtime.bool) -> 'i t -> 'i t -> Ppx_deriving_runtime.bool
val compare : ('i -> 'i -> Ppx_deriving_runtime.int) -> 'i t -> 'i t -> Ppx_deriving_runtime.int
val hash : ('i -> int) -> 'i t -> int
module Index : sig ... end

Domains for offset indices.

exception Type_of_error of GoblintCil.typ * string

Printable.type_of could not follow offset completely.

module type Printable = sig ... end
module type Lattice = sig ... end
module MakeLattice (Idx : Index.Lattice) : Lattice with type idx = Idx.t

Make offset Lattice from lattice indices.

module Unit : sig ... end

Offset with Index.Unit indices.

module Exp : sig ... end

Offset with Index.Exp indices.

OCaml

Innovation. Community. Security.