arch

package
v0.0.0-...-bed064d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2016 License: GPL-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arch

type Arch interface {
	GetRegisters() []int
	IsRet(mem []byte) bool
	GetRegIP() int
	GetRegStack() int
	GetRegStackBase() int
	GetRegRet() int
	ToUnicornArchDescription() int //X86? ARM? PPC?
	ToUnicornModeDescription() int //32 or 64 byte
}

type ArchX86_64

type ArchX86_64 struct{}

func (*ArchX86_64) GetRegIP

func (s *ArchX86_64) GetRegIP() int

func (*ArchX86_64) GetRegRet

func (s *ArchX86_64) GetRegRet() int

func (*ArchX86_64) GetRegStack

func (s *ArchX86_64) GetRegStack() int

func (*ArchX86_64) GetRegStackBase

func (s *ArchX86_64) GetRegStackBase() int

func (*ArchX86_64) GetRegisters

func (s *ArchX86_64) GetRegisters() []int

func (*ArchX86_64) IsRet

func (s *ArchX86_64) IsRet(mem []byte) bool

func (*ArchX86_64) ToUnicornArchDescription

func (s *ArchX86_64) ToUnicornArchDescription() int

func (*ArchX86_64) ToUnicornModeDescription

func (s *ArchX86_64) ToUnicornModeDescription() int

Jump to

Keyboard shortcuts

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