Open
Description
Dear developers,
The FormatterATT
module appends the operand-size suffix for instruction using VSIB
.
For instance, the opcode c42289914c3afc
is disassembled as vpgatherqqq %xmm14, -0x04(%rdx,%xmm15,1), %xmm9
.
Yet, in case of vpgather
, the operand-size is already part of the mnemonic. The extra suffix makes the printed disassembly invalid.
I am not sure, but I think it is the same for other mnemonics using a VSIB
operand.
Would it make sense to remove the second case here ?
https://github.com/zyantific/zydis/blob/bffbb610cfea643b98e87658b9058382f7522807/src/FormatterATT.c#L306C14-L306C15
Regards,
Metadata
Assignees
Labels
No labels
Activity