diff options
Diffstat (limited to 'miasm/arch/x86/disasm.py')
| -rw-r--r-- | miasm/arch/x86/disasm.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/miasm/arch/x86/disasm.py b/miasm/arch/x86/disasm.py deleted file mode 100644 index 49b7158a..00000000 --- a/miasm/arch/x86/disasm.py +++ /dev/null @@ -1,30 +0,0 @@ -from miasm.core.asmblock import disasmEngine -from miasm.arch.x86.arch import mn_x86 - - -cb_x86_funcs = [] - - -def cb_x86_disasm(mdis, cur_block, offset_to_dis): - for func in cb_x86_funcs: - func(mdis, cur_block, offset_to_dis) - - -class dis_x86(disasmEngine): - attrib = None - - def __init__(self, bs=None, **kwargs): - super(dis_x86, self).__init__(mn_x86, self.attrib, bs, **kwargs) - self.dis_block_callback = cb_x86_disasm - - -class dis_x86_16(dis_x86): - attrib = 16 - - -class dis_x86_32(dis_x86): - attrib = 32 - - -class dis_x86_64(dis_x86): - attrib = 64 |