types

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintStack added in v0.0.5

func PrintStack(log zerolog.Logger, stack vulncheck.CallStack)

func Stack added in v0.0.5

func Stack(stack vulncheck.CallStack) []string

Types

type CallChain added in v0.0.5

type CallChain struct {
	Fn     *vulncheck.FuncNode
	Called *vulncheck.CallSite
	Child  *CallChain
}

func NewCallChainLeave added in v0.0.5

func NewCallChainLeave(fn *vulncheck.FuncNode, call *vulncheck.CallSite, child *CallChain) *CallChain

func (*CallChain) CreateCallStack added in v0.0.5

func (c *CallChain) CreateCallStack() vulncheck.CallStack

type Reporter

type Reporter interface {
	Convert(result VulnerableStacks) error
	Write(dest io.Writer) error
}

type VulnerableStacks added in v0.0.5

type VulnerableStacks map[*vulncheck.Vuln][]vulncheck.CallStack

Jump to

Keyboard shortcuts

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