diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-02-27 20:12:54 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-03-05 16:52:51 +0100 |
| commit | 944806c506446c918eb74c17a605f5f56d4b75e0 (patch) | |
| tree | ba1d989b03bf8b5544c362a9f61b4e8d3284650f /miasm2/arch/x86/disasm.py | |
| parent | 02bbb30efea4980c9d133947cbbf69fb599071ad (diff) | |
| download | miasm-944806c506446c918eb74c17a605f5f56d4b75e0.tar.gz miasm-944806c506446c918eb74c17a605f5f56d4b75e0.zip | |
Rename miasm2 to miasm
Diffstat (limited to 'miasm2/arch/x86/disasm.py')
| -rw-r--r-- | miasm2/arch/x86/disasm.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/miasm2/arch/x86/disasm.py b/miasm2/arch/x86/disasm.py deleted file mode 100644 index ecb1b8da..00000000 --- a/miasm2/arch/x86/disasm.py +++ /dev/null @@ -1,30 +0,0 @@ -from miasm2.core.asmblock import disasmEngine -from miasm2.arch.x86.arch import mn_x86 - - -cb_x86_funcs = [] - - -def cb_x86_disasm(*args, **kwargs): - for func in cb_x86_funcs: - func(*args, **kwargs) - - -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 |