tools

package
v0.0.0-...-c695042 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCallgraph

func BuildCallgraph(inputfile string) map[string]*FuncInfo

func Callgraph

func Callgraph(inputfile string)

func FormatArray

func FormatArray(src, pattern string)

func Formuala

func Formuala(inputfile, formula string) string

func Formulae

func Formulae(inputfile, formulae string) string

func PrintAst

func PrintAst(src string)

func RersInput

func RersInput(inputfile string) string

func RewriteBlackbox

func RewriteBlackbox(inputfile string, funs []string, outputdir string) (string, string)

FIXME this function is very "naive": it only removes function from the orignal file to put them (visibility public) in the Blackbox file Nonetheles problem can occur when a blackbox function call a non blackbox one

func RewriteRecursion

func RewriteRecursion(inputfile string, unroll_level int) (string, bool)

Types

type FuncInfo

type FuncInfo struct {
	Name                  string
	IsRecursive           bool
	TransitivelyRecursive bool
	Calls                 []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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