Skip to main content

Module graph

Module graph 

Source
Expand description

A graph and its labels: the object fidus’s Ccfg.lean formalises,

Edge (ℓ, g, λ, ℓ')   src, guard, at most one label, target
Ccfg (ℓ₀, X, E)      init, exits, edges

Locations are anonymous numbers. A guard is an edge’s field beside its label; the label is what the transition system observes: one of tast’s events (a function’s run, a send, a receive into its binder, an IRQ) or Div’s hang. Guard and label are tast’s nodes, their variables the proc vars of the process the edge was written in. An event-less edge is a guarded edge to an exit. A graph is one invocation of its entry point; re-invocation is the scheduler’s.

Structs§

Ccfg
One entry point’s graph (ℓ₀, X, E): one invocation.
Edge
An edge (ℓ, g, λ, ℓ').
Location
A control location: a number, with no store valuation.

Enums§

Label
What an edge fires.