Documentation ¶
Overview ¶
Package scan contains scanner/parser code for rules and scanner code for the binary files
Index ¶
Constants ¶
View Source
const ( EOF = scanner.EOF Ident = scanner.Ident Int = scanner.Int Float = scanner.Float Char = scanner.Char String = scanner.String RawString = scanner.RawString Comment = scanner.Comment )
View Source
const ( Operator rune = -(iota + 10) None // not scanned, only used by accept-any and similar )
Variables ¶
This section is empty.
Functions ¶
func AnalyzeFile ¶
AnalyzeFile evaluates one rule against one file, if the rule has children they will also be evaluated
func ParseRuleFiles ¶
ParseRuleFiles loads rules from a set of files
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.