Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFG ¶
type CFG struct {
// 预分析的bin文件路径
BinFile string
// 与分析的bin展开目录
BinExtractedDir string
// 数据库配置
DB DBCFG
// // 设置日志显示等级
// LogLevel int
// 日志对象配置
Logs LogSet
// 扫描策略
ScanPolicy ScanPolicyCFG
// 常见的压缩文件后缀名
CompressSuffix []string
// 校验出不同类型的elf
AddRatingCheckElf int
// 未知elf文件加分
AddRatingUnknownElf int
// 未知文件后缀名
ScoreUnknownSuffix int
}
type LogSet ¶
type LogSet struct {
// Fg:Green
// Tag:[ OK ]
OK golog.SimpleLog
// Tag: [ OK ] FgHiBlue Underline
OK2 golog.SimpleLog
// Fg:Green
// Tag:[PASS]
Pass golog.SimpleLog
// Fg:Green
// Tag:[IGNORED]
// Underline
Ignored golog.SimpleLog
// Fg:Blue
// Tag:[SKIP]
// Underline
Skip golog.SimpleLog
// Tag: [UNKNOWN] Fg
Unknwon golog.SimpleLog
CommonLog golog.CommonLog
}
日志对象集
Click to show internal directories.
Click to hide internal directories.