about summary refs log tree commit diff
path: root/frida_mode/include/ctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'frida_mode/include/ctx.h')
-rw-r--r--frida_mode/include/ctx.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/frida_mode/include/ctx.h b/frida_mode/include/ctx.h
new file mode 100644
index 00000000..cbcc892a
--- /dev/null
+++ b/frida_mode/include/ctx.h
@@ -0,0 +1,11 @@
+#ifndef _CTX_H
+#define _CTX_H
+
+#include "frida-gum.h"
+
+#if defined(__x86_64__) || defined(__i386__)
+gsize ctx_read_reg(GumCpuContext *ctx, x86_reg reg);
+#endif
+
+#endif
+