Add depreciated in unicorn.h

This commit is contained in:
lazymio 2021-11-04 18:44:56 +01:00
parent 937445466b
commit 94d952b410
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

View File

@ -109,10 +109,12 @@ typedef enum uc_mode {
// arm / arm64
UC_MODE_ARM = 0, // ARM mode
UC_MODE_THUMB = 1 << 4, // THUMB mode (including Thumb-2)
UC_MODE_MCLASS = 1 << 5, // ARM's Cortex-M series
// 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 (currently unsupported)
// arm (32bit) cpu types
// Depreciated, use UC_ARM_CPU_* with uc_ctl instead.
UC_MODE_ARM926 = 1 << 7, // ARM926 CPU type
UC_MODE_ARM946 = 1 << 8, // ARM946 CPU type
UC_MODE_ARM1176 = 1 << 9, // ARM1176 CPU type