Documentation
¶
Index ¶
- Variables
- type Config
- func (c Config) IsSanitizer(call *ssa.Call) bool
- func (c Config) IsSink(call *ssa.Call) bool
- func (c Config) IsSinkFunction(f *ssa.Function) bool
- func (c Config) IsSource(t types.Type) bool
- func (c Config) IsSourceField(typ types.Type, fld *types.Var) bool
- func (c Config) IsSourceFieldAddr(fa *ssa.FieldAddr) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var FlagSet flag.FlagSet
FlagSet should be used by analyzers to reuse -config flag.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Sources []sourceMatcher
Sinks []callMatcher
Sanitizers []callMatcher
}
config contains matchers and analysis scope information
func ReadConfig ¶
Click to show internal directories.
Click to hide internal directories.