Entry point for OTP analysis, covering GenServer, gen_statem, and supervisor patterns.
Summary
Functions
Adds OTP semantic edges to a libgraph based on IR analysis.
Detects which OTP behaviour a module uses, based on IR nodes.
Types
Functions
Adds OTP semantic edges to a libgraph based on IR analysis.
Returns a new Graph.t() containing only OTP edges. Merge this
with the existing PDG/SDG graph.
@spec detect_behaviour([Reach.IR.Node.t()]) :: atom() | nil
Detects which OTP behaviour a module uses, based on IR nodes.
Returns :genserver, :gen_statem, :supervisor, :agent, or nil.