architectures

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArchitecturesByElfMachine = map[elf.Machine]Architecture{
	elf.EM_X86_64: X86,
	elf.EM_ARM:    ARM,
}
View Source
var ArchitecturesByName = map[string]Architecture{
	"x86": X86,
	"arm": ARM,
}

Functions

func GetGadgets

func GetGadgets(binary BinDump.BinDump, spec Gadget.UserSpec) ([]*Gadget.GadgetInstance, error)

Types

type Architecture

type Architecture int
const (
	X86 Architecture = 1
	ARM Architecture = 2
)

type GadgetSpecList

type GadgetSpecList []*Gadget.EndSpec

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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