# `VulnCheck.Types.CallEdge`
[🔗](https://github.com/Voskan/vulncheck/blob/v1.0.1/lib/vulncheck/types/graph.ex#L16)

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` — an `apply/3` site resolved to a concrete target
  * `:dynamic_candidate` — a possible target of an unresolved invocation
  * `:imports` — an over-approximated edge derived from the `:imports` table of
    a `.beam` without debug info

# `kind`

```elixir
@type kind() ::
  :static_call
  | :macro_expanded
  | :behaviour_callback
  | :supervisor_child
  | :dynamic_apply
  | :dynamic_candidate
  | :imports
```

# `t`

```elixir
@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()
}
```

# `proven?`

```elixir
@spec proven?(t()) :: boolean()
```

Whether the edge can support a confirmed call chain.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
