Argus.Extractors.ProcessRegistry (Panoptes v0.13.0)

Copy Markdown View Source

Process registry and naming extractor.

Detects process name registration, Registry operations, {:via, ...} tuple construction, and Process.whereis/1 calls. Enriches the existing OTP analysis suite with naming information to catch registration collisions, TOCTOU races on whereis, and unreachable named processes.

Emitted facts

  • process_register(id, func, name, method) — direct registration and GenServer name: option
  • named_process(mod, name) — module-level: a process implemented by mod is registered as name
  • whereis_call(id, func, name, checked)Process.whereis/1, :erlang.whereis/1; checked says whether the result is tested against nil before use