From 02728147d504a0a6bb925fd7d484b8be6a018d9b Mon Sep 17 00:00:00 2001 From: aaaaaa aaaaaaa Date: Mon, 8 Jan 2018 19:46:58 +0100 Subject: [PATCH] move simple towards the end, so the hooking engines don't overwrite the adjucent functions --- test_cases/simple_tests.asm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/test_cases/simple_tests.asm b/test_cases/simple_tests.asm index a772db8..cc75c07 100644 --- a/test_cases/simple_tests.asm +++ b/test_cases/simple_tests.asm @@ -4,11 +4,6 @@ section '.text' code readable writeable executable use64 -public _small -_small: - xor eax, eax - ret - public _rip_relative _rip_relative: mov rax, qword[seed] @@ -51,4 +46,8 @@ _branch: nop @branch_ret: ret - \ No newline at end of file + +public _small +_small: + xor eax, eax + ret \ No newline at end of file