package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.5.0.tbz
sha256=452d8491527aea21f2cbb11defcc14ba0daf9fdb6bdb9fc0af73e56eac57b916
sha512=1993cd45c4c7fe124ca6e157f07d17ec50fab5611b270a434ed1b7fb2910aa85a8e6eaaa77dad770430710aafb2f6d676c774dd33942d921f23e2f9854486551

doc/goblint_cdomain_value/ThreadIdDomain/Thread/index.html

Module ThreadIdDomain.Thread

include S with type t = thread
include Printable.S with type t = thread
type t = thread
val equal : t -> t -> bool
val hash : t -> int
val compare : t -> t -> int
val show : t -> string
val pretty : unit -> t -> Printable.Pretty.doc
val printXml : 'a BatInnerIO.output -> t -> unit
val name : unit -> string
val to_yojson : t -> Yojson.Safe.t
val tag : t -> int

Unique ID, given by HConsed, for context identification in witness

val arbitrary : unit -> t QCheck.arbitrary
val relift : t -> t
val threadinit : GoblintCil.varinfo -> multiple:bool -> t
val is_main : t -> bool
val is_unique : t -> bool
val may_create : t -> t -> bool

Overapproximates whether the first TID can be involved in the creation fo the second TID

val is_must_parent : t -> t -> bool

Is the first TID a must parent of the second thread. Always false if the first TID is not unique

module D : Lattice.S
val threadenter : multiple:bool -> (t * D.t) -> Node.t -> int option -> GoblintCil.varinfo -> t list
val threadspawn : multiple:bool -> D.t -> Node.t -> int option -> GoblintCil.varinfo -> D.t
val created : t -> D.t -> t list option

If it is possible to get a list of threads created thus far, get it

OCaml

Innovation. Community. Security.