Documentation
¶
Index ¶
- func CheckPluginType(pluginType PluginType, prog *ssaapi.Program) *result.StaticAnalyzeResults
- func GetPluginSSAOpt(pluginType PluginType) []ssaapi.Option
- func RegisterCheckRuler(pluginTyp PluginType, f CheckRuler)
- func RegisterSSAOptCollector(pluginTyp PluginType, f SSAOptCollector)
- type CheckRuler
- type PluginType
- type PluginTypeAnalyzer
- type SSAOptCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPluginType ¶
func CheckPluginType(pluginType PluginType, prog *ssaapi.Program) *result.StaticAnalyzeResults
func GetPluginSSAOpt ¶
func GetPluginSSAOpt(pluginType PluginType) []ssaapi.Option
func RegisterCheckRuler ¶
func RegisterCheckRuler(pluginTyp PluginType, f CheckRuler)
func RegisterSSAOptCollector ¶
func RegisterSSAOptCollector(pluginTyp PluginType, f SSAOptCollector)
Types ¶
type CheckRuler ¶
type CheckRuler func(*ssaapi.Program) *result.StaticAnalyzeResults
type PluginType ¶
type PluginType string
const ( // plugin type : "yak" "mitm" "port-scan" "codec" PluginTypeYak PluginType = "yak" PluginTypeMitm PluginType = "mitm" PluginTypePortScan PluginType = "port-scan" PluginTypeCodec PluginType = "codec" )
func ToPluginType ¶
func ToPluginType(plugin string) PluginType
type PluginTypeAnalyzer ¶
type PluginTypeAnalyzer struct { SSAOptCollectors map[PluginType]SSAOptCollector CheckRulers map[PluginType][]CheckRuler }
type SSAOptCollector ¶
Click to show internal directories.
Click to hide internal directories.