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

Method IsSurrogateProcess

pkg/event/event_windows.go:285–287  ·  view source on GitHub ↗

IsSurrogateProcess indicates if the process creation event parent id differs from the real process parent identifier.

()

Source from the content-addressed store, hash-verified

283// IsSurrogateProcess indicates if the process creation event parent id
284// differs from the real process parent identifier.
285func (e *Event) IsSurrogateProcess() bool {
286 return e.IsCreateProcess() && e.Params.MustGetUint32(params.ProcessParentID) != e.Params.MustGetUint32(params.ProcessRealParentID)
287}
288
289// RundownKey calculates the rundown event hash. The hash is
290// used to determine if the rundown event was already processed.

Callers 4

PopMethod · 0.95
StackPIDMethod · 0.95
produceFrameMethod · 0.80
PushMethod · 0.80

Calls 2

IsCreateProcessMethod · 0.95
MustGetUint32Method · 0.80

Tested by

no test coverage detected