From db8c04a07c86985a74a9a74e86f0a4820a090d1c Mon Sep 17 00:00:00 2001 From: Mio Date: Mon, 4 Jul 2022 22:31:51 +0800 Subject: [PATCH] Fix value collision between UC_MODE_ARMBE8 and UC_MODE_ARM926 --- include/unicorn/unicorn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index c75c2f10..38178de7 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -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.