Crate paralegal_spdg

source ·
Expand description

This crate defines the program dependence graph (PDG) generated by Paralegal.

The top-level type is ProgramDescription. This type references multiple types defined within the Rust compiler such as MIR locations. To avoid requiring a rustc_private dependency on paralegal_spdg clients, we provide proxies in the rustc_proxies module for all Rustc types within the PDG.

Re-exports

Modules

Structs

Enums

  • Similar to DefKind in rustc but not the same!
  • The type of an edge
  • The type of instructions we may encounter
  • Extends a MIR body’s Location with Start (before the first instruction) and End (after all returns).
  • Additional information about the source of data.
  • Additional information about this mutation.

Constants

Traits

Functions

  • Calculate a hash for this object

Type Aliases