You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to incorrect operand access values specified for instructions such as vcmpunordss. IIUC, operand access values are maintained in capstone/arch/X86/X86MappingInsnOp.inc and copied to the new X86MappingInsnOp.inc generated by tablegen, see
. New instructions are associated with default access value { 0 }. X86IntelInstPrinter or X86ATTInstPrinter uses a stack allocated array for storing the access values. This array is never initialized and only the first element is set to 0. When requesting access value for second/third operands in such instructions, it then fetches random values stored in the un-initialized array, and thus yield random results.
The text was updated successfully, but these errors were encountered:
cstool/cstool -d -s x64 "62 f1 76 08 c2 c9 03"
may yield different results:This is due to incorrect operand access values specified for instructions such as
vcmpunordss
. IIUC, operand access values are maintained incapstone/arch/X86/X86MappingInsnOp.inc
and copied to the newX86MappingInsnOp.inc
generated by tablegen, seecapstone/suite/synctools/mapping_insn_op.py
Lines 100 to 130 in 31ea133
{ 0 }
.X86IntelInstPrinter
orX86ATTInstPrinter
uses a stack allocated array for storing the access values. This array is never initialized and only the first element is set to 0. When requesting access value for second/third operands in such instructions, it then fetches random values stored in the un-initialized array, and thus yield random results.The text was updated successfully, but these errors were encountered: