exec

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Overview

Package exec provides the utilities to analyze the executable code

Index

Constants

View Source
const (
	ProcessEventCreated = ProcessEventType(iota)
	ProcessEventTerminated
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	Service svc.Attrs

	CmdExePath     string
	ProExeLinkPath string
	ELF            *elf.File
	Pid            int32
	Ppid           int32
	Ino            uint64
	Ns             uint32
}

func (*FileInfo) ExecutableName

func (fi *FileInfo) ExecutableName() string

type ProcessEvent

type ProcessEvent struct {
	File *FileInfo
	Type ProcessEventType
}

type ProcessEventType

type ProcessEventType int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL