Documentation ¶
Overview ¶
Package goexec provides the utilities to analyse the executable code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileInfo ¶
func FindExecELF ¶
func FindExecELF(ctx context.Context, finder ProcessFinder) ([]FileInfo, error)
findExecELF operation blocks until the executable is available. TODO: check that all the existing instances of the excutable are instrumented, even when it is offloaded from memory
func (*FileInfo) ExecutableName ¶
type ProcessFinder ¶
ProcessFinder allows finding a process given multiple criteria
func OwnedPort ¶
func OwnedPort(port int) ProcessFinder
OwnedPort allows finding a Process that owns the passed port
func ProcessNamed ¶
func ProcessNamed(pathSuffix string) ProcessFinder
ProcessNamed allows finding a Process whose name path contains the passed string TODO: use regular expression
Click to show internal directories.
Click to hide internal directories.