Guides
Reference guides from Code Graph Review: the code graphs behind code review, navigation and analysis, explained with the tools that build them.
Code Property Graphs: What They Are and How to Use One
What a code property graph is, how it merges the AST, control flow graph and program dependence graph, which open-source tools build one, and how to query it.
Control Flow Graphs: How They Work and How to Generate One
What a control flow graph is, how basic blocks and edges are built, worked if and loop examples, cyclomatic complexity, and how to generate a CFG with LLVM, GCC or Joern.
Abstract Syntax Trees: How They Work and How to Use One
What an abstract syntax tree is, how it differs from a parse tree, a worked Python example, how to print an AST in Python, JavaScript, C and Go, and how linters, codemods and structural diffs use it.