thumb

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

Documentation

Index

Constants

This section is empty.

Variables

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

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

	{Gadget.MustCompile("[\x00\x08\x10\x18\x20\x28\x30\x38\x40\x48\x70]{1}\x47"), 2, 2},
	{Gadget.MustCompile("[\x80\x88\x90\x98\xa0\xa8\xb0\xb8\xc0\xc8\xf0]{1}\x47"), 2, 2},
	{Gadget.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) (Gadget.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