package goblint

  1. Overview
  2. Docs

Module LibraryDesc.AccessesSource

Pointer arguments access specification.

Sourcetype t = Cil.Cil.exp list -> (Access.t * Cil.Cil.exp list) list
Sourceval find : t -> ?kind:??? -> ?deep:??? -> ?atomic:??? -> Cil.Cil.exp list -> Cil.Cil.exp list

Find all accesses which match the given parameters (kind, deep, atomic). If a parameter is not given, any value is considered matching. May return duplicates if one arg is accessed multiple times (e.g. arg is both read and written to, and no ~kind: filter was specified).

Sourceval iter : t -> (Access.t -> Cil.Cil.exp -> unit) -> Cil.Cil.exp list -> unit
Sourceval fold : t -> (Access.t -> Cil.Cil.exp -> 'a -> 'a) -> Cil.Cil.exp list -> 'a -> 'a