keystone
keystone copied to clipboard
PowerPC : addo/addco/any instruction with the "o" prefix not supported
Description
Keystone does not seem to handle instructions with the "o" prefix. The only difference between an "add" and an "addo" instruction for instance is that the OE flag (bit 10 of the instuction) is set.
Example:
$ kstool ppc32be "addo 0, 0, 1"
ERROR: failed on ks_asm() with count = 0, error = 'Invalid mnemonic (KS_ERR_ASM_MNEMONICFAIL)' (code = 514)
Expected behaviour
$ kstool ppc32be "addo 0, 0, 1"
addo 0, 0, 1 = [ 7c 00 0e 14 ]