about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--miasm2/arch/arm/arch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm2/arch/arm/arch.py b/miasm2/arch/arm/arch.py
index 0d10d6f8..a8fb2650 100644
--- a/miasm2/arch/arm/arch.py
+++ b/miasm2/arch/arm/arch.py
@@ -456,6 +456,8 @@ class instruction_armt(instruction_arm):
             return
         if self.name == 'BLX':
             ad = e.arg + (self.offset & 0xfffffffc)
+        elif self.name == 'BL':
+            ad = e.arg + self.offset + self.l
         else:
             ad = e.arg + self.offset
         l = symbol_pool.getby_offset_create(ad)