thumb

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GadgetSpecs = []*types.GadgetSpec{

	{types.MustCompile("\x00-\xff]{1}\xef"), 2, 2},

	{types.MustCompile("[\x00\x08\x10\x18\x20\x28\x30\x38\x40\x48\x70]{1}\x47"), 2, 2},
	{types.MustCompile("[\x80\x88\x90\x98\xa0\xa8\xb0\xb8\xc0\xc8\xf0]{1}\x47"), 2, 2},
	{types.MustCompile("[\x00-\xff]{1}\xbd"), 2, 2},
}

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) (types.Gadget, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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