linuxemulation

package
v0.0.0-...-9bff9df Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emulator

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

Emulator - Main class

func NewEmulator

func NewEmulator(internet interfaces.Internet, filesystem interfaces.FileSystem) *Emulator

NewEmulator - Create a new instance of the emulator

func (*Emulator) GetBRK

func (e *Emulator) GetBRK() uint64

GetBRK - Return the current brk

func (*Emulator) GetStackManager

func (e *Emulator) GetStackManager() interfaces.StackManager

GetStackManager - Return the current instance of the stack manager

func (*Emulator) GetTypeConversion

func (e *Emulator) GetTypeConversion() interfaces.TypeConversion

GetTypeConversion - Return the current instance of the type converter

func (*Emulator) GetUnicorn

func (e *Emulator) GetUnicorn() unicorn.Unicorn

GetUnicorn - Return the current instance of Unicorn Engine

func (*Emulator) Run

func (e *Emulator) Run(program *elf.File)

Run - Run a program

func (*Emulator) SetBRK

func (e *Emulator) SetBRK(brk uint64) uint64

SetBRK - Set brk for the current instance

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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