diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-14 09:09:29 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-14 09:09:29 +0000 |
| commit | 579cf1d03fb932083e6317967d1613d5c2587fb6 (patch) | |
| tree | 629f039935382a2a7391bce9253f6c9968159049 /src/miasm/arch/mips32/disasm.py | |
| parent | 51c15d3ea2e16d4fc5f0f01a3b9befc66b1f982e (diff) | |
| download | focaccia-miasm-ta/nix.tar.gz focaccia-miasm-ta/nix.zip | |
Convert to src-layout ta/nix
Diffstat (limited to 'src/miasm/arch/mips32/disasm.py')
| -rw-r--r-- | src/miasm/arch/mips32/disasm.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/miasm/arch/mips32/disasm.py b/src/miasm/arch/mips32/disasm.py new file mode 100644 index 00000000..b6c05cb7 --- /dev/null +++ b/src/miasm/arch/mips32/disasm.py @@ -0,0 +1,16 @@ +from miasm.core.asmblock import disasmEngine +from miasm.arch.mips32.arch import mn_mips32 + + + +class dis_mips32b(disasmEngine): + attrib = 'b' + def __init__(self, bs=None, **kwargs): + super(dis_mips32b, self).__init__(mn_mips32, self.attrib, bs, **kwargs) + + +class dis_mips32l(disasmEngine): + attrib = "l" + def __init__(self, bs=None, **kwargs): + super(dis_mips32l, self).__init__(mn_mips32, self.attrib, bs, **kwargs) + |