Closed
Description
- The
ppc_op_crx
are not being set in capstone v5 (this applies forX.crx.reg
and forX.crx.cond
).
The issue is linked to these lines:
capstone/arch/PowerPC/PPCInstPrinter.c
Line 350 in 8ae8f68
capstone/arch/PowerPC/PPCInstPrinter.c
Line 131 in 8ae8f68
XORI
sometimes is marked asXNOR
even if is notXORI r0, r0, 0
- Some instructions are correctly decoded and their fields are wrongly set:
- Prints
rldicl
but is set asPPC_INS_CLRLDI
. - Prints
rlwinm
but is set asPPC_INS_CLRLWI
. - Prints
cmpw
but is set asPPC_INS_CMP
- Prints
cmpd
but is set asPPC_INS_CMP
- Prints
cmplw
but is set asPPC_INS_CMPL
- Prints
cmpld
but is set asPPC_INS_CMPL
- Prints
cmpwi
but is set asPPC_INS_CMPI
- Prints
cmpdi
but is set asPPC_INS_CMPI
- Prints
cmplwi
but is set asPPC_INS_CMPLI
- Prints
cmpldi
but is set asPPC_INS_CMPLI