package goblint

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Printable.Std end
type group = Printable.Std.group = |
val show_group : group -> 'a
val to_group : 'a -> 'b option
val trace_enabled : bool
val invariant : 'a -> 'b -> Invariant.t
val tag : 'a -> 'b
val arbitrary : unit -> 'a
val relift : 'a -> 'a
type t =
  1. | Statement of CilType.Stmt.t
    (*

    The statements as identified by CIL

    *)
  2. | FunctionEntry of CilType.Fundec.t
  3. | Function of CilType.Fundec.t
    (*

    The variable information associated with the function declaration.

    *)

A node in the Control Flow Graph is either a statement or function. Think of * the function node as last node that all the returning nodes point to. So * the result of the function call is contained in the function node.

val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val _ : t -> Yojson.Safe.t
val name : unit -> string
val pretty_plain : unit -> t -> Pretty.doc

Pretty node plainly with entire stmt.

val pretty_plain_short : unit -> t -> Pretty.doc

Pretty node plainly with stmt location.

val pretty_trace : unit -> t -> Pretty.doc

Pretty node for solver variable tracing with short stmt.

val pretty : unit -> t -> Pretty.doc

Output functions for Printable interface

val show : t -> string
val printXml : 'a BatInnerIO.output -> t -> unit
val to_yojson : t -> [> `String of string ]
val show_id : t -> string

Show node ID for CFG and results output.

val show_cfg : t -> string

Show node label for CFG.

val hash : t -> int
val location : t -> Cil.location
val find_fundec : t -> CilType.Fundec.t

Find fundec which the node is in. In an incremental run this might yield old fundecs for pseudo-return nodes from the old file.

OCaml

Innovation. Community. Security.