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

Method IsOpenDisposition

pkg/event/event_windows.go:252–254  ·  view source on GitHub ↗

IsOpenDisposition determines if the file disposition leads to opening a file object.

()

Source from the content-addressed store, hash-verified

250
251// IsOpenDisposition determines if the file disposition leads to opening a file object.
252func (e *Event) IsOpenDisposition() bool {
253 return e.IsCreateFile() && e.Params.MustGetUint32(params.FileOperation) == windows.FILE_OPEN
254}
255
256// StackID returns the integer that is used to stich the callstack present in the StackWalk event.
257func (e *Event) StackID() uint64 {

Callers 4

ScanMethod · 0.80
ProcessEventMethod · 0.80
TestEventSourceAllEventsFunction · 0.80
testCallstackEnrichmentFunction · 0.80

Calls 2

IsCreateFileMethod · 0.95
MustGetUint32Method · 0.80

Tested by 2

TestEventSourceAllEventsFunction · 0.64
testCallstackEnrichmentFunction · 0.64