Documentation
¶
Index ¶
Constants ¶
View Source
const ( StringType = iota StringString StringRegex StringHex )
Types of string variables
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
Name string `json:"file_name"`
Lex *lexic.Lexer `json:"-"`
Item lexic.Item `json:"-"`
LastItem lexic.Item `json:"-"`
Imports []string `json:"imports"`
Rules []RuleDef `json:"rules"`
// contains filtered or unexported fields
}
Parser represents the Yara rules
func (*Parser) SetLogLevel ¶
SetLogLevel sets the log level
Click to show internal directories.
Click to hide internal directories.