Documentation ¶
Index ¶
- type Config
- type ProcessTree
- func (t *ProcessTree) Activities() models.Models
- func (t *ProcessTree) AddActivities(vals models.Models)
- func (t *ProcessTree) AddActivity(val models.Model)
- func (t *ProcessTree) AddChild(val *models.ProcessFork) *ProcessTree
- func (t *ProcessTree) Children() []*ProcessTree
- func (t *ProcessTree) GetRandomNode() *ProcessTree
- func (t *ProcessTree) Leaves() []*ProcessTree
- func (t *ProcessTree) Print(indentLevel uint)
- func (t *ProcessTree) Process() *models.ProcessFork
- type TimelineActivityType
- type TimelineGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RandomGeneratorSeed *int64 MaxProcesses int MaxExecsPerProcess int MaxNetConnsPerProcess int MaxFileModsPerProcess int }
func DefaultConfig ¶
func DefaultConfig() Config
type ProcessTree ¶
type ProcessTree struct {
// contains filtered or unexported fields
}
func CreateRoot ¶
func CreateRoot(val *models.ProcessFork) *ProcessTree
func (*ProcessTree) Activities ¶
func (t *ProcessTree) Activities() models.Models
func (*ProcessTree) AddActivities ¶
func (t *ProcessTree) AddActivities(vals models.Models)
func (*ProcessTree) AddActivity ¶
func (t *ProcessTree) AddActivity(val models.Model)
func (*ProcessTree) AddChild ¶
func (t *ProcessTree) AddChild(val *models.ProcessFork) *ProcessTree
func (*ProcessTree) Children ¶
func (t *ProcessTree) Children() []*ProcessTree
func (*ProcessTree) GetRandomNode ¶
func (t *ProcessTree) GetRandomNode() *ProcessTree
func (*ProcessTree) Leaves ¶
func (t *ProcessTree) Leaves() []*ProcessTree
func (*ProcessTree) Print ¶
func (t *ProcessTree) Print(indentLevel uint)
func (*ProcessTree) Process ¶
func (t *ProcessTree) Process() *models.ProcessFork
type TimelineActivityType ¶
type TimelineActivityType uint8
const ( TimelineActivityProcFork TimelineActivityType = iota TimelineActivityProcExec TimelineActivityProcEnd TimelineActivityNetConn TimelineActivityFileMod )
type TimelineGenerator ¶
type TimelineGenerator struct {
// contains filtered or unexported fields
}
func NewTimelineGenerator ¶
func NewTimelineGenerator(c Config) TimelineGenerator
Click to show internal directories.
Click to hide internal directories.