miasm icon indicating copy to clipboard operation
miasm copied to clipboard

missing instructions movdqa

Open ghost opened this issue 8 years ago • 2 comments

Traceback (most recent call last): ... File "../pyimports/miasm2/ir/ir.py", line 153, in add_instr self.add_bloc(b, gen_pc_updt) File "../pyimports/miasm2/ir/ir.py", line 233, in add_bloc ir_bloc_cur, ir_blocs_extra = self.instr2ir(l) File "../pyimports/miasm2/ir/ir.py", line 135, in instr2ir ir_bloc_cur, ir_blocs_extra = self.get_ir(l) File "../pyimports/miasm2/arch/x86/sem.py", line 3510, in get_ir instr.name.lower()](self, instr, *args) KeyError: 'movdqa'

ghost avatar Jul 09 '16 00:07 ghost

Just came around. MOVDQA is here, but MOVNTDQA is missed

from miasm.core.locationdb import LocationDB
from miasm.arch.x86.arch import mn_x86
mn_x86.fromstring('MOVDQA XMM1, XMM2', loc_db, 64)
mn_x86.fromstring('MOVNTDQA    XMM0, XMMWORD PTR [EBX]', loc_db, 64)

KKomarov avatar Jul 15 '21 14:07 KKomarov

Hi @KKomarov The first issue shows that the semantic of the instruction is not implemented. (no semantic in the miasm2/arch/x86/sem.py file) For the second isssue, you are right, the instruction is missing in the assembler / disassembler

serpilliere avatar Jul 15 '21 20:07 serpilliere