render

package
v0.3.5-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 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.State) (*dataflow.State, 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