summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/helpers.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-05-14 19:40:07 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-05-14 19:40:07 (GMT)
commit0286b53bad21abf91cbe17c4772ca9cde6a89cbc (patch)
tree3bec9dc7e118c00ce9c748576b01606a71880ad7 /plugins/arm/v7/helpers.h
parent267b1ae8608ed4bf52de743798e8647c903ee1b4 (diff)
Created an instruction database for Chrysalide.
Diffstat (limited to 'plugins/arm/v7/helpers.h')
-rw-r--r--plugins/arm/v7/helpers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/arm/v7/helpers.h b/plugins/arm/v7/helpers.h
index cb32785..ae759b8 100644
--- a/plugins/arm/v7/helpers.h
+++ b/plugins/arm/v7/helpers.h
@@ -26,7 +26,6 @@
#include <arch/immediate.h>
-#include <arch/register.h>
#include "pseudo.h"
@@ -34,6 +33,7 @@
#include "operands/coproc.h"
#include "operands/estate.h"
#include "operands/maccess.h"
+#include "operands/register.h"
#include "operands/reglist.h"
#include "operands/rotation.h"
#include "operands/shift.h"
@@ -212,7 +212,7 @@
if (__reg == NULL) \
__result = NULL; \
else \
- __result = g_register_operand_new(G_ARCH_REGISTER(__reg)); \
+ __result = g_armv7_register_operand_new(__reg); \
__result; \
})
@@ -245,7 +245,7 @@
if (__reg == NULL) \
__result = NULL; \
else \
- __result = g_register_operand_new(G_ARCH_REGISTER(__reg)); \
+ __result = g_armv7_register_operand_new(__reg); \
__result; \
})
@@ -383,7 +383,7 @@
if (__reg == NULL) \
__result = NULL; \
else \
- __result = g_register_operand_new(G_ARCH_REGISTER(__reg)); \
+ __result = g_armv7_register_operand_new(__reg); \
__result; \
#endif