Documentation
¶
Overview ¶
Package elixir implements a gorisk analyzer for Elixir/Erlang projects. It supports mix.lock and mix.exs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildIRGraph ¶ added in v0.4.2
func BuildIRGraph(g *graph.DependencyGraph) ir.IRGraph
BuildIRGraph builds a function-level IR graph for an Elixir dependency graph.
func Detect ¶
func Detect(dir string) capability.CapabilitySet
Detect walks .ex and .exs files in dir and returns the combined capability set.
func DetectFunctions ¶ added in v0.4.2
DetectFunctions parses Elixir .ex/.exs files and returns per-function capability sets and call edges.
Types ¶
type Adapter ¶
type Adapter struct{}
Adapter implements the analyzer.Analyzer interface for Elixir projects.
type ElixirPackage ¶
ElixirPackage represents an Elixir/Hex dependency.
func Load ¶
func Load(dir string) (pkgs []ElixirPackage, retErr error)
Load detects and parses the Elixir dependency lockfile in dir. Priority: mix.lock -> mix.exs Load never panics; it returns a structured error on failure.
Click to show internal directories.
Click to hide internal directories.