Module Offset

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

type nonrec 'i t = 'i Offset_intf.t

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 Poly : sig ... end

Polymorphic offset operations.

module type Printable = Offset_intf.Printable
module type Lattice = Offset_intf.Lattice

Make Printable offset from printable indices.

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.

module Z : Printable with type idx = Z.t

Offset with Index.Z indices.