diff options
| author | serpilliere <devnull@localhost> | 2014-08-21 09:49:01 +0200 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2014-08-21 09:49:01 +0200 |
| commit | 57632368917e0b129c9f59444dd2509458cf2381 (patch) | |
| tree | 76e789fce26ec20db4a9e534450b81b88480611f /miasm2/arch/mips32/disasm.py | |
| parent | b8ef731f42da12c857e6104aef47eb407d106809 (diff) | |
| download | miasm-57632368917e0b129c9f59444dd2509458cf2381.tar.gz miasm-57632368917e0b129c9f59444dd2509458cf2381.zip | |
mips32: little/big endian is now an attrib
Diffstat (limited to 'miasm2/arch/mips32/disasm.py')
| -rw-r--r-- | miasm2/arch/mips32/disasm.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miasm2/arch/mips32/disasm.py b/miasm2/arch/mips32/disasm.py index 9b236748..29b699eb 100644 --- a/miasm2/arch/mips32/disasm.py +++ b/miasm2/arch/mips32/disasm.py @@ -1,16 +1,16 @@ from miasm2.core.asmbloc import asm_constraint, disasmEngine -from arch import mn_mips32b, mn_mips32l +from arch import mn_mips32 class dis_mips32b(disasmEngine): - attrib = None + attrib = 'b' def __init__(self, bs=None, **kwargs): - super(dis_mips32b, self).__init__(mn_mips32b, self.attrib, bs, **kwargs) + super(dis_mips32b, self).__init__(mn_mips32, self.attrib, bs, **kwargs) class dis_mips32l(disasmEngine): - attrib = None + attrib = "l" def __init__(self, bs=None, **kwargs): super(dis_mips32l, self).__init__(mn_mips32l, self.attrib, bs, **kwargs) |