Documentation ¶
Overview ¶
Package molly is the root for the library API in molly
Index ¶
- func ExtractReport(m *types.Molly) *types.Report
- func LoadBuiltinRules() ([]string, []string)
- func LoadRules(m *types.Molly, files ...string) error
- func LoadRulesFromText(m *types.Molly, source, text string) error
- func New() *types.Molly
- func ScanData(m *types.Molly, data []byte) error
- func ScanFiles(m *types.Molly, files ...string) error
- func Version() (int, int, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractReport ¶
ExtractReport generates a report
func LoadBuiltinRules ¶
built-in rules are stored as embedded data and are loaded from here
func LoadRulesFromText ¶
LoadRulesFromText reads rules from a string
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package exp contains expression types and the logic to evaluate them
|
Package exp contains expression types and the logic to evaluate them |
prim
Package prim contains primitive types used in the epxressions
|
Package prim contains primitive types used in the epxressions |
package operators contains actions functions that can be called from rules.
|
package operators contains actions functions that can be called from rules. |
analyzers
Package analyzers contains different file analyzers.
|
Package analyzers contains different file analyzers. |
extractors
Package extractors contains file extractors for various formats
|
Package extractors contains file extractors for various formats |
Package report provides helper functions to extract data from the generated reports
|
Package report provides helper functions to extract data from the generated reports |
Package scan contains scanner/parser code for rules and scanner code for the binary files
|
Package scan contains scanner/parser code for rules and scanner code for the binary files |
Package types contain main types used in the API + some minimal logic.
|
Package types contain main types used in the API + some minimal logic. |
Package util contains various utility functions used by other packages
|
Package util contains various utility functions used by other packages |
Click to show internal directories.
Click to hide internal directories.