Fix #2128 by adding missing mapping values. (#2335)

This commit is contained in:
Rot127 2024-04-26 07:12:42 +00:00 committed by GitHub
parent 6c7b54817f
commit 514b8fca9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View File

@ -18808,7 +18808,7 @@
{
X86_TEST64mr, X86_INS_TEST, 1,
#ifndef CAPSTONE_DIET
{ 0 }, { 0 }, { 0 }, 0, 0
{ 0 }, { X86_REG_EFLAGS, 0 }, { 0 }, 0, 0
#endif
},

View File

@ -13434,8 +13434,8 @@
},
{ /* X86_TEST64mr, X86_INS_TEST: test */
0,
{ 0 }
X86_EFLAGS_RESET_OF | X86_EFLAGS_MODIFY_SF | X86_EFLAGS_MODIFY_ZF | X86_EFLAGS_UNDEFINED_AF | X86_EFLAGS_MODIFY_PF | X86_EFLAGS_RESET_CF,
{ CS_AC_READ, CS_AC_READ, 0 }
},
{ /* X86_TEST64ri32, X86_INS_TEST: test */

View File

@ -1066,3 +1066,7 @@
!# issue 2233 ARM write to PC is branch
!# CS_ARCH_ARM, CS_MODE_THUMB, CS_OPT_DETAIL
0x87,0x46 == mov pc, r0 ; Groups: IsThumb jump
!# issue 2128
!# CS_ARCH_X86, CS_MODE_64, CS_OPT_DETAIL
0x0: 0x4c,0x85,0x7d,0x30 == test qword ptr [rbp + 0x30], r15 ; operands[1].type: REG = r15 ; operands[1].access: READ ; Registers read: rbp r15 ; Registers modified: rflags