Is there a way to access the primary code in the latest available version? I know that the field has been deprecated (though not removed) and that I can use ud_insn_mnemonic (returns an enum) but I'd like to access the primary opcode as a value. Is there a workaround for this?
See also: #103. The workaround you're looking for is to simply revert part of the commit that is linked there, i.e. restore the assignment in decode_opcode().
Is there a way to access the primary code in the latest available version? I know that the field has been deprecated (though not removed) and that I can use ud_insn_mnemonic (returns an enum) but I'd like to access the primary opcode as a value. Is there a workaround for this?