callvis

package
v0.0.0-...-2a35e62 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CallGraphTypeStatic  CallGraphType = "static"
	CallGraphTypeCha                   = "cha"
	CallGraphTypeRta                   = "rta"
	CallGraphTypePointer               = "pointer"
)

Variables

View Source
var TemplateFoot = `` /* 3444-byte string literal not displayed */
View Source
var TemplateHead = `` /* 977-byte string literal not displayed */

Functions

func Version

func Version() string

Types

type Analysis

type Analysis struct {
	// contains filtered or unexported fields
}

==[ type def/func: Analysis ]===============================================

func (*Analysis) DoAnalysis

func (a *Analysis) DoAnalysis(
	algo CallGraphType,
	dir string,
	tests bool,
	args []string,
) error

func (*Analysis) OptsSetup

func (a *Analysis) OptsSetup(focusFlag, groupFlag, ignoreFlag, includeFlag, limitFlag string, nointerFlag, nostdFlag bool)

func (*Analysis) OutputDot

func (a *Analysis) OutputDot(fname string, outputFormat string) (img string, err error)

func (*Analysis) Render

func (a *Analysis) Render() ([]byte, error)

basically do printOutput() with previously checking focus option and respective package

type CallGraphType

type CallGraphType string

Jump to

Keyboard shortcuts

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