From a23ef990492cd0384de1a924c44805587d5b5aed Mon Sep 17 00:00:00 2001 From: comex Date: Sun, 1 Feb 2015 01:56:29 -0500 Subject: fix my utter failure to handle branches/conditionals correctly (on ARM) --- lib/arm64/jump-patch.h | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/arm64/jump-patch.h') diff --git a/lib/arm64/jump-patch.h b/lib/arm64/jump-patch.h index aa818d3..cc94f90 100644 --- a/lib/arm64/jump-patch.h +++ b/lib/arm64/jump-patch.h @@ -1,7 +1,6 @@ #pragma once #include "arm64/assemble.h" #define MAX_JUMP_PATCH_SIZE 12 -#define MAX_REWRITTEN_SIZE (7 * 2 * 4) /* also conservative */ static inline int jump_patch_size(uintptr_t pc, uintptr_t dpc, UNUSED struct arch_dis_ctx arch, bool force) { -- cgit v1.2.3