package goblint
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=99b78e6def71534d195eef9084baa26d8334b36084e120aa6afb300c9bf8afa6
sha512=f3162bd95a03c00358a2991f6152fc6169205bfb4c55e2c483e98cc3935673df9656d025b6f1ea0fa5f1bd0aee037d4f483966b0d2907e3fa9bf11a93a3392af
doc/goblint.common/Node/index.html
Module Node
CFG node. Corresponds to a program point between program statements.
include module type of struct include Printable.StdLeaf end
include module type of struct include Node0 end
type t = Node0.t =
| Statement of CilType.Stmt.t
(*The statements as identified by CIL
*)| FunctionEntry of CilType.Fundec.t
| 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 hash : t -> int
val _ : t -> Yojson.Safe.t
val location : t -> GoblintCil.Cil.location
val current_node : t option Stdlib.ref
val pretty_plain : unit -> t -> GoblintCil.Pretty.doc
Pretty node plainly with entire stmt.
val pretty_plain_short : unit -> t -> GoblintCil.Pretty.doc
Pretty node plainly with stmt location.
val pretty_trace : unit -> t -> GoblintCil.Pretty.doc
Pretty node for solver variable tracing with short stmt.
val pretty : unit -> t -> GoblintCil.Pretty.doc
Output functions for Printable interface
include sig ... end
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 find_fundec : t -> GoblintCil.fundec
Find fundec
which the node is in. In an incremental run this might yield old fundecs for pseudo-return nodes from the old file.
val of_id : string -> t