put some instructions between functions to ensure enough space for the hooks

This commit is contained in:
2018-01-08 20:07:48 +01:00
parent c7e4e9b050
commit 8d7cfa20d3
3 changed files with 39 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
format ms64 coff format ms64 coff
section '.text' code readable executable section '.text' code readable executable align 16
use64 use64
@@ -11,7 +11,31 @@ _AVX:
vmovdqu [rdx], ymm0 ; store result in @res vmovdqu [rdx], ymm0 ; store result in @res
ret ret
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
public _RDRAND public _RDRAND
_RDRAND: _RDRAND:
rdrand eax rdrand eax
ret ret
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3

View File

@@ -1,6 +1,6 @@
format ms64 coff format ms64 coff
section '.text' code readable executable section '.text' code readable executable align 16
use64 use64
@@ -14,6 +14,17 @@ _loop:
nop nop
loop @loop_loop ; lol loop @loop_loop ; lol
ret ret
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
public _tail_recursion public _tail_recursion
_tail_recursion: _tail_recursion:

View File

@@ -1,6 +1,6 @@
format ms64 coff format ms64 coff
section '.text' code readable writeable executable section '.text' code readable writeable executable align 16
use64 use64