Documentation
¶
Overview ¶
Package source contains the logic related to the concept of the source which may be tainted.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "source", Doc: "This analyzer identifies ssa.Values as dataflow sources.", Flags: config.FlagSet, Run: run, Requires: []*analysis.Analyzer{buildssa.Analyzer}, ResultType: reflect.TypeOf(new(ResultType)).Elem(), }
Functions ¶
This section is empty.
Types ¶
type ResultType ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source represents a Source in an SSA call tree. It is based on ssa.Node, with the added functionality of computing the recursive graph of its referrers. Source.sanitized notes sanitizer calls that sanitize this Source
func (*Source) IsSanitizedAt ¶
func (a *Source) IsSanitizedAt(call ssa.Instruction) bool
IsSanitizedAt returns true when the Source is sanitized by the supplied instruction.
Click to show internal directories.
Click to hide internal directories.