A directed edge of the call graph.
file and line describe the call site inside the caller. kind tells how
the edge was discovered:
:static_call— a direct local/remote call or function capture:macro_expanded— a call generated by macro expansion:behaviour_callback— a callback wired by an OTP or framework behaviour:supervisor_child— a module started or referenced as a child/plug:dynamic_apply— anapply/3site resolved to a concrete target:dynamic_candidate— a possible target of an unresolved invocation:imports— an over-approximated edge derived from the:importstable of a.beamwithout debug info
Summary
Functions
Whether the edge can support a confirmed call chain.
Types
@type kind() ::
:static_call
| :macro_expanded
| :behaviour_callback
| :supervisor_child
| :dynamic_apply
| :dynamic_candidate
| :imports
@type t() :: %VulnCheck.Types.CallEdge{ file: String.t() | nil, from: VulnCheck.Types.MFA.t(), kind: kind(), line: non_neg_integer() | nil, to: VulnCheck.Types.MFA.t() }