Explore the Code Property Graph (CPG) specifications
mainThe Code Property Graph (CPG) is a language-agnostic graph representation of source code. The graph is composed of nodes and edges that represent various program properties. To understand the full structure of the CPG, you can explore the following specialized graph models and specifications:
- Graph Model: The fundamental structure of nodes and edges.
- Data Flow Graph (DFG): Represents how data moves through the program.
- Data Flow Graph (DFG) Function Summaries: Summaries of data flow behavior at the function level.
- Evaluation Order Graph (EOG): Represents the order in which expressions are evaluated.
- Program Dependence Graph (PDG): Represents dependencies between statements in a program.
- Inference Rules: The rules used to modify or augment the graph.
- Overlay Graphs: A mechanism to encode additional information on top of the base graph.