diff options
| author | van Hauser <vh@thc.org> | 2021-07-19 10:54:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-19 10:54:12 +0200 |
| commit | 815161827689c339d335233b7b232ac9b120b79b (patch) | |
| tree | 4e686574ccf1f47cea79fc24514c8455e3a1fbc1 /frida_mode/include/ctx.h | |
| parent | 9321a24e682b5c8bf6278961bd014cb883b87295 (diff) | |
| parent | cc57cc5f463e9b79980c2087d19b4a1e1360ec52 (diff) | |
| download | afl++-815161827689c339d335233b7b232ac9b120b79b.tar.gz | |
Merge branch 'release' into stable
Diffstat (limited to 'frida_mode/include/ctx.h')
| -rw-r--r-- | frida_mode/include/ctx.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/frida_mode/include/ctx.h b/frida_mode/include/ctx.h index c669478e..cbcc892a 100644 --- a/frida_mode/include/ctx.h +++ b/frida_mode/include/ctx.h @@ -1,17 +1,10 @@ #ifndef _CTX_H #define _CTX_H -#include "frida-gumjs.h" +#include "frida-gum.h" -#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); +#if defined(__x86_64__) || defined(__i386__) +gsize ctx_read_reg(GumCpuContext *ctx, x86_reg reg); #endif #endif |
