package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.0.1.tbz
sha256=dba2b664c7c125687e708e871d83fbfb6ba6d9ee98d235b4850d9a238caa84de
sha512=529987cde39691ad9e955000a3603e89c1c8cf14ed5e8b4cd3a7fc26e47d016aff571b472e2329725133c46f8d0cb45a05b88994eeffaa221a4d31b4c543adcd

doc/goblint.lib/Goblint_lib/TopDown_term/WP/argument-1-S/Var/index.html

Module S.Var

Variables must be hashable, comparable, etc.

include Goblint_lib.Prelude.Hashtbl.HashedType with type t = v
type t = v

The type of the hashtable keys.

val equal : t -> t -> bool

The equality predicate used to compare keys.

val hash : t -> int

A hashing function on keys. It must be such that if two keys are equal according to equal, then they have identical hash values as computed by hash. Examples: suitable (equal, hash) pairs for arbitrary key types include ((=), Hashtbl.hash) for comparing objects by structure, ((fun x y -> compare x y = 0), Hashtbl.hash) for comparing objects by structure and handling Pervasives.nan correctly, and ((==), Hashtbl.hash) for comparing objects by addresses (e.g. for cyclic keys).

include Analyses.SysVar with type t := t
val is_write_only : t -> bool
val pretty_trace : unit -> t -> GoblintCil.Pretty.doc
val compare : t -> t -> int
val printXml : 'a BatInnerIO.output -> t -> unit
val var_id : t -> string
val node : t -> MyCFG.node
val relift : t -> t
OCaml

Innovation. Community. Security.