package goblint

Build not yet checked
  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-2.9.0.tbz
sha256=882f25e68cc14d42879ab4775fb2cf99aaac7e3cc70d58fa632b7edef304a731
sha512=dc90f0a685709688bbc13c80d0e2b01bf87cf2bbdc7f0c22632227ae32bee9377f3f1cb50f00cf564d6f1313c27fba5d811c53bb17a24972ab5aa570bf62278b

doc/goblint.domain/SetDomain/index.html

Module SetDomainSource

Set domains.

module Pretty = GoblintCil.Pretty
Sourceexception Unsupported of string
Sourceval unsupported : string -> 'a
Sourcemodule type S = sig ... end

A set domain must support all the standard library set operations. They have been copied instead of included since our empty has a different signature.

Sourcemodule type Elements = sig ... end

Subsignature of S, which is sufficient for Print.

Sourcemodule Print (E : Printable.S) (S : Elements with type elt = E.t) : sig ... end

Reusable output definitions for sets.

Sourcemodule Make (Base : Printable.S) : S with type elt = Base.t and type t = BatSet.Make(Base).t

A functor for creating a simple set domain, there is no top element, and * calling top () will raise an exception

A functor for creating a path sensitive set domain, that joins the base * analysis whenever the user elements coincide. Just as above there is no top * element, and calling top () will raise an exception

Sourcemodule type ToppedSetNames = sig ... end

Auxiliary signature for naming the top element

Sourcemodule LiftTop (S : S) (N : ToppedSetNames) : S with type elt = S.elt and type t = [ `Top | `Lifted of S.t ]
Sourcemodule ToppedSet (Base : Printable.S) (N : ToppedSetNames) : S with type elt = Base.t and type t = [ `Top | `Lifted of Make(Base).t ]

Functor for creating artificially topped set domains.

Sourcemodule HeadlessSet (Base : Printable.S) : sig ... end
Sourcemodule Reverse (Base : S) : sig ... end

Reverses lattice order of a set domain while keeping the set operations same.

Sourcemodule type FiniteSetElem = sig ... end
Sourcemodule FiniteSet (E : FiniteSetElem) : sig ... end
Sourcemodule Joined (E : Lattice.S) : S with type elt = E.t

Set abstracted by a single (joined) element.