capstone
capstone copied to clipboard
Inconsistent behavior of Mips_option() and other XX_option()
As we can see, Mips_option() return CS_ERR_OPTION by default.
https://github.com/aquynh/capstone/blob/71f5c64c43b9868ab08c3a9bad82ba3563e9436d/arch/Mips/MipsModule.c#L42-L50
While others return CS_ERR_OK by default.
https://github.com/aquynh/capstone/blob/71f5c64c43b9868ab08c3a9bad82ba3563e9436d/arch/AArch64/AArch64Module.c#L35-L42
https://github.com/aquynh/capstone/blob/71f5c64c43b9868ab08c3a9bad82ba3563e9436d/arch/ARM/ARMModule.c#L40-L61
https://github.com/aquynh/capstone/blob/71f5c64c43b9868ab08c3a9bad82ba3563e9436d/arch/X86/X86Module.c#L42-L92