yago

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MULTILINE   = `\s*/\*([^*]|\*+[^*/])*\*+/\s*`
	INLINE      = `(?m)\s*//.*[\n\r][\n\r]?`
	BLANKS      = `(?m)\s+$`
	QUOTES      = `"`
	MAXBUFF     = 1024 * 1024 // If needed Go will take it form RAM.
	DEBUG_LEVEL = "INFO"
)

Variables

This section is empty.

Functions

func GenerateOutputFromYara added in v0.1.3

func GenerateOutputFromYara(res []*grammar.Parser, validJSON bool)

func GenerateOutputToYaraDir added in v0.1.3

func GenerateOutputToYaraDir(rules []*grammar.Parser, outputDir string, overwrite bool)

func GenerateOutputToYaraFile added in v0.1.3

func GenerateOutputToYaraFile(rule unify, outputFile string, overwrite bool)

func NewParser added in v0.1.3

func NewParser(name string) *grammar.Parser

func ProcessDir added in v0.1.3

func ProcessDir(dirName string) []*grammar.Parser

func ProcessFile added in v0.1.3

func ProcessFile(fileName string) []*grammar.Parser

func ProcessIndex added in v0.1.3

func ProcessIndex(indexFile, cwd string) []*grammar.Parser

func ProcessInputFile added in v0.1.3

func ProcessInputFile(inputFile string, validJSON bool) []*grammar.Parser

func UnifyRules added in v0.1.3

func UnifyRules(rules []*grammar.Parser) unify

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL