about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/ira.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/arch/arm/ira.py')
-rw-r--r--miasm2/arch/arm/ira.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/miasm2/arch/arm/ira.py b/miasm2/arch/arm/ira.py
index 7ff2c142..81d3bbbb 100644
--- a/miasm2/arch/arm/ira.py
+++ b/miasm2/arch/arm/ira.py
@@ -104,6 +104,21 @@ class ir_a_arm(ir_a_arm_base):
     def get_out_regs(self, b):
         return set([self.ret_reg, self.sp])
 
+    def sizeof_char(self):
+        return 8
+
+    def sizeof_short(self):
+        return 16
+
+    def sizeof_int(self):
+        return 32
+
+    def sizeof_long(self):
+        return 32
+
+    def sizeof_pointer(self):
+        return 32
+
 
 class ir_a_armt(ir_armt, ir_a_arm):