MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / newCompiler

Function newCompiler

pkg/rules/compiler.go:61–63  ·  view source on GitHub ↗
(psnap ps.Snapshotter, config *config.Config)

Source from the content-addressed store, hash-verified

59}
60
61func newCompiler(psnap ps.Snapshotter, config *config.Config) *compiler {
62 return &compiler{psnap: psnap, config: config}
63}
64
65func (c *compiler) compile() (map[*config.FilterConfig]filter.Filter, *config.RulesCompileResult, error) {
66 if err := c.config.Filters.LoadMacros(); err != nil {

Callers 4

NewEngineFunction · 0.85
TestCompileFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestCompileFunction · 0.68