Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MODULE_EXTRACT uint = 0x00000001
)
Functions ¶
This section is empty.
Types ¶
type CFG ¶
type CFG struct {
// 运行的模块 0b111
// 提取 bin文件: 0000 0001
RunModule uint
// 预分析的bin文件路径
BinFile string
// 与分析的bin展开目录
BinExtractedDir string
// 数据库配置
DB DBCFG
// 日志对象配置
Logs LogSet
// 扫描策略
ScanPolicy ScanPolicyCFG
// 常见的压缩文件后缀名
CompressSuffix []string
// 校验出不同类型的elf
AddRatingCheckElf int
// 未知elf文件加分
AddRatingUnknownElf 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.