Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

13
vendor/github.com/bouk/monkey/monkey_386.go generated vendored Normal file
View File

@@ -0,0 +1,13 @@
package monkey
// Assembles a jump to a function value
func jmpToFunctionValue(to uintptr) []byte {
return []byte{
0xBA,
byte(to),
byte(to >> 8),
byte(to >> 16),
byte(to >> 24), // mov edx,to
0xFF, 0x22, // jmp DWORD PTR [edx]
}
}