arm

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GadgetSpecs = []*Gadget.EndSpec{

	{Gadget.MustCompile("\x00-\xff]{3}\xef"), 4, 4},

	{Gadget.MustCompile("[\x10-\x19\x1e]{1}\xff\x2f\xe1"), 4, 4},
	{Gadget.MustCompile("[\x30-\x39\x3e]{1}\xff\x2f\xe1"), 4, 4},
	{Gadget.MustCompile("[\x00-\xff][\x80-\xff][\x10-\x1e\x30-\x3e\x50-\x5e\x70-\x7e\x90-\x9e\xb0-\xbe\xd0-\xde\xf0-\xfe][\xe8\xe9]"), 4, 4},
}

Adapted from:

https://github.com/JonathanSalwan/ROPgadget/blob/master/ropgadget/gadgets.py

https://github.com/polyverse/EnVisen/blob/master/internaljs/instruction_gadget_worker.js

Functions

func GadgetDecoder

func GadgetDecoder(opcodes []byte) (Gadget.Gadget, error)

func InstructionDecoder

func InstructionDecoder(opcodes []byte) (instruction *Instruction.Instruction, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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