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

Method OnlyState

pkg/event/types_windows.go:524–544  ·  view source on GitHub ↗

OnlyState determines whether the event type is solely used for state management.

()

Source from the content-addressed store, hash-verified

522
523// OnlyState determines whether the event type is solely used for state management.
524func (t Type) OnlyState() bool {
525 switch t {
526 case ProcessRundown,
527 ProcessRundownInternal,
528 CreateProcessInternal,
529 ThreadRundown,
530 ModuleRundown,
531 LoadModuleInternal,
532 FileRundown,
533 RegKCBRundown,
534 FileOpEnd,
535 ReleaseFile,
536 MapFileRundown,
537 RegCreateKCB,
538 RegDeleteKCB,
539 RegSetValueInternal:
540 return true
541 default:
542 return false
543 }
544}
545
546// CanEnrichStack determines if the event can be enriched with a callstack.
547func (t Type) CanEnrichStack() bool {

Callers 3

incKevtsMethod · 0.80
readMethod · 0.80
IsStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected