injector

package
v0.0.0-...-a5af113 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TEMPLATE = `` /* 232-byte string literal not displayed */

	SIGNALHELP = "" /* 126-byte string literal not displayed */
)

Variables

This section is empty.

Functions

func CheckPathsForBin

func CheckPathsForBin(paths ...string) string

func GetPathForBin

func GetPathForBin(name string, extra ...string) (string, error)

func GetWorldWritableTempDir

func GetWorldWritableTempDir() (string, error)

Try *really hard* to find a world-writable temp dir.

Types

type CodeToInject

type CodeToInject struct {
	// contains filtered or unexported fields
}

func NewCodeToInject

func NewCodeToInject(pid int, code string, timeout time.Duration, force bool, signals map[uint32]string) (CodeToInject, error)

func (*CodeToInject) Cleanup

func (c *CodeToInject) Cleanup()

func (*CodeToInject) Run

func (self *CodeToInject) Run() (string, error)

Jump to

Keyboard shortcuts

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