about summary refs log tree commit diff stats
path: root/miasm2/arch/mips32/sem.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-08-14 01:47:51 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-08-29 17:49:30 +0200
commit44733a8047a00100f881ac2c21bd8d1543bdec63 (patch)
tree7c35d21ffd6108922a4b89cd1927a499bfafec02 /miasm2/arch/mips32/sem.py
parent7c0d412120abbcfaa51fdb1dd231a27595c873ed (diff)
downloadmiasm-44733a8047a00100f881ac2c21bd8d1543bdec63.tar.gz
miasm-44733a8047a00100f881ac2c21bd8d1543bdec63.zip
Mips: missing addrsize
Diffstat (limited to '')
-rw-r--r--miasm2/arch/mips32/sem.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm2/arch/mips32/sem.py b/miasm2/arch/mips32/sem.py
index acf7370f..3720ce67 100644
--- a/miasm2/arch/mips32/sem.py
+++ b/miasm2/arch/mips32/sem.py
@@ -497,6 +497,7 @@ class ir_mips32l(IntermediateRepresentation):
 
 class ir_mips32b(ir_mips32l):
     def __init__(self, loc_db=None):
+        self.addrsize = 32
         IntermediateRepresentation.__init__(self, mn_mips32, 'b', loc_db)
         self.pc = mn_mips32.getpc()
         self.sp = mn_mips32.getsp()