Documentation ¶
Index ¶
- Variables
- func CheckDefineFunctionCodec(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func CheckDefineFunctionMitm(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func CheckDefineFunctionPortScan(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func Deprecated(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func DisableCli(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func DisableMitmExternLib(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func DuplicateFunction(name string) string
- func ErrorDisableCLi() string
- func ErrorRiskCheck() string
- func ErrorRiskCreateNotSave() string
- func ErrorStrInvalidParamName(name string) string
- func ErrorStrNotCallCliCheck() string
- func ErrorStrSameParamName(name string, line int) string
- func LeastImplementOneFunctions(name []string) string
- func MITMNotSupport(pkg string) string
- func NoImplementFunction(name string) string
- func RuleCliCheck(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func RuleCliDefault(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func RuleCliParamName(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func RuleRisk(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func RuleRiskTypeVerbose(prog *ssaapi.Program) *result.StaticAnalyzeResults
- func WarnInvalidRiskTypeVerbose() string
Constants ¶
This section is empty.
Variables ¶
View Source
var RiskTypeFuncs = []string{"risk.type", "risk.typeVerbose"}
Functions ¶
func CheckDefineFunctionCodec ¶
func CheckDefineFunctionCodec(prog *ssaapi.Program) *result.StaticAnalyzeResults
func CheckDefineFunctionMitm ¶
func CheckDefineFunctionMitm(prog *ssaapi.Program) *result.StaticAnalyzeResults
func CheckDefineFunctionPortScan ¶
func CheckDefineFunctionPortScan(prog *ssaapi.Program) *result.StaticAnalyzeResults
func Deprecated ¶
func Deprecated(prog *ssaapi.Program) *result.StaticAnalyzeResults
func DisableCli ¶
func DisableCli(prog *ssaapi.Program) *result.StaticAnalyzeResults
func DisableMitmExternLib ¶
func DisableMitmExternLib(prog *ssaapi.Program) *result.StaticAnalyzeResults
func DuplicateFunction ¶
func ErrorDisableCLi ¶
func ErrorDisableCLi() string
func ErrorRiskCheck ¶
func ErrorRiskCheck() string
func ErrorRiskCreateNotSave ¶
func ErrorRiskCreateNotSave() string
func ErrorStrNotCallCliCheck ¶
func ErrorStrNotCallCliCheck() string
func ErrorStrSameParamName ¶
func MITMNotSupport ¶
func NoImplementFunction ¶
func RuleCliCheck ¶
func RuleCliCheck(prog *ssaapi.Program) *result.StaticAnalyzeResults
检查是否在最后面调用了 cli.check
func RuleCliDefault ¶
func RuleCliDefault(prog *ssaapi.Program) *result.StaticAnalyzeResults
检查 cli.setDefault 设置的默认值是否符合规范
func RuleCliParamName ¶
func RuleCliParamName(prog *ssaapi.Program) *result.StaticAnalyzeResults
检查参数名是否重复和参数名是否符合规范
func RuleRiskTypeVerbose ¶
func RuleRiskTypeVerbose(prog *ssaapi.Program) *result.StaticAnalyzeResults
检查 risk.type 是否符合规范
func WarnInvalidRiskTypeVerbose ¶
func WarnInvalidRiskTypeVerbose() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.