render

package
v0.2.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package render provides functions to build a inter-procedural dataflow graph. This is used to render the graph in a GraphViz format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCrossFunctionGraph

func BuildCrossFunctionGraph(state *dataflow.AnalyzerState) (*dataflow.AnalyzerState, error)

BuildCrossFunctionGraph builds a full-program (inter-procedural) analysis state from program.

Types

type CrossFunctionGraphVisitor

type CrossFunctionGraphVisitor struct{}

CrossFunctionGraphVisitor represents a visitor that builds the state's FlowGraph.

func (CrossFunctionGraphVisitor) Visit

Visit is a SourceVisitor that builds adds edges between the individual intra-procedural dataflow graphs reachable from source. This visitor must be called for every entrypoint in the program to build a complete dataflow graph.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL