Fix value collision between UC_MODE_ARMBE8 and UC_MODE_ARM926

This commit is contained in:
Mio
2022-07-04 22:31:51 +08:00
parent c63bbff7d1
commit db8c04a07c

View File

@@ -120,8 +120,8 @@ typedef enum uc_mode {
// Depreciated, use UC_ARM_CPU_* with uc_ctl instead.
UC_MODE_MCLASS = 1 << 5, // ARM's Cortex-M series.
UC_MODE_V8 = 1 << 6, // ARMv8 A32 encodings for ARM
UC_MODE_ARMBE8 = 1 << 7, // Big-endian data and Little-endian code.
// Legacy support for UC1 only.
UC_MODE_ARMBE8 = 1 << 10, // Big-endian data and Little-endian code.
// Legacy support for UC1 only.
// arm (32bit) cpu types
// Depreciated, use UC_ARM_CPU_* with uc_ctl instead.