summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/opdefs/A8828_bxj.d
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-08 22:29:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-08 22:29:47 (GMT)
commit2ed3c9274c8dafb660bc25743a1aac7c72c12965 (patch)
treee3f20c5ebfe947163442144aba29a1d62462ac7d /plugins/arm/v7/opdefs/A8828_bxj.d
parent8f77fd4f0a73a92087b185af0b45d70607268107 (diff)
Marked the ARMv7 branch instructions with the LR register as return points.
Diffstat (limited to 'plugins/arm/v7/opdefs/A8828_bxj.d')
-rw-r--r--plugins/arm/v7/opdefs/A8828_bxj.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/arm/v7/opdefs/A8828_bxj.d b/plugins/arm/v7/opdefs/A8828_bxj.d
index 7c6ddb5..f3a1bb7 100644
--- a/plugins/arm/v7/opdefs/A8828_bxj.d
+++ b/plugins/arm/v7/opdefs/A8828_bxj.d
@@ -49,6 +49,13 @@
}
+ @hooks {
+
+ fetch = help_fetching_with_instruction_bx_from_thumb
+ link = handle_armv7_conditional_branch_from_register
+
+ }
+
}
@encoding (A1) {
@@ -75,5 +82,12 @@
}
+ @hooks {
+
+ fetch = help_fetching_with_instruction_bx_from_arm
+ link = handle_armv7_conditional_branch_from_register
+
+ }
+
}