Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct { ID int Executable string Args []string Environment []string // contains filtered or unexported fields }
Process represents a process within a virtual machine
type VM ¶
type VM struct { Fs *ramfs.Filesystem // contains filtered or unexported fields }
VM is the environment the binary should be emulated in.
func (*VM) LoadFiles ¶
LoadFiles loads the files from the config into the filesytem of the environment.
func (*VM) Process ¶
Process creates a new process for the provided executable. - create unicorn instance - prepare memory and kernel for the process - load loader into virtual machine (if required) If a loader is required, the binary is written to the filesystem and the entry point it set to the loader.
Click to show internal directories.
Click to hide internal directories.