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

Struct scanner

pkg/yara/scanner.go:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66)
67
68type scanner struct {
69 c *yara.Compiler
70 rules *yara.Rules
71 config config.Config
72
73 psnap ps.Snapshotter
74
75 rwxs map[uint32]va.Address // contains scanned and matched RWX process allocations
76 mmaps map[uint32]va.Address // contains scanned and matched suspicious memory mappings
77}
78
79// NewScanner creates a new YARA scanner.
80func NewScanner(psnap ps.Snapshotter, config config.Config) (Scanner, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected