Documentation
¶
Overview ¶
Package goexec provides the utilities to analyze the executable code
Index ¶
- Constants
- func EnvVars(pid int32) (map[string]string, error)
- func FindExeSymbols(f *elf.File, symbolNames []string) (map[string]Sym, error)
- func FindLibMaps(pid int32) ([]*procfs.ProcMap, error)
- func FindNamespace(pid int32) (uint32, error)
- func FindNamespacedPids(pid int32) ([]uint32, error)
- func FindProcLanguage(pid int32) svc.InstrumentableType
- func LibPath(name string, maps []*procfs.ProcMap) *procfs.ProcMap
- func LibPathPlain(name string, maps []*procfs.ProcMap) *procfs.ProcMap
- type FileInfo
- type ProcessEvent
- type ProcessEventType
- type Sym
Constants ¶
View Source
const ( ProcessEventCreated = ProcessEventType(iota) ProcessEventTerminated )
Variables ¶
This section is empty.
Functions ¶
func FindExeSymbols ¶
func FindNamespace ¶
func FindNamespacedPids ¶
func FindProcLanguage ¶
func FindProcLanguage(pid int32) svc.InstrumentableType
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 FindExecELF ¶
func (*FileInfo) ExecutableName ¶
type ProcessEvent ¶
type ProcessEvent struct { File *FileInfo Type ProcessEventType }
type ProcessEventType ¶
type ProcessEventType int
Click to show internal directories.
Click to hide internal directories.