FRIDA AARCH64 support (#965)

Co-authored-by: Your Name <you@example.com>
This commit is contained in:
WorksButNotTested
2021-06-08 08:55:12 +01:00
committed by GitHub
parent cd95dfe1e7
commit c7b9171c10
29 changed files with 1265 additions and 66 deletions

View File

@ -3,8 +3,15 @@
#include "frida-gum.h"
#if defined(__x86_64__) || defined(__i386__)
gsize ctx_read_reg(GumCpuContext *ctx, x86_reg reg);
#if defined(__x86_64__)
gsize ctx_read_reg(GumX64CpuContext *ctx, x86_reg reg);
#elif defined(__i386__)
gsize ctx_read_reg(GumIA32CpuContext *ctx, x86_reg reg);
#elif defined(__aarch64__)
gsize ctx_read_reg(GumArm64CpuContext *ctx, arm64_reg reg);
size_t ctx_get_size(const cs_insn *instr, cs_arm64_op *operand);
#elif defined(__arm__)
gsize ctx_read_reg(GumArmCpuContext *ctx, arm_reg reg);
#endif
#endif