From db90f39ac6b9951a1e2c9abcdb6f286762b03c3f Mon Sep 17 00:00:00 2001 From: lazymio Date: Thu, 4 Nov 2021 20:01:19 +0100 Subject: [PATCH] Generate bindings --- bindings/dotnet/UnicornManaged/Const/Arm.fs | 6 +- .../dotnet/UnicornManaged/Const/Common.fs | 14 +- bindings/dotnet/UnicornManaged/Const/Mips.fs | 59 +- bindings/dotnet/UnicornManaged/Const/Ppc.fs | 608 +++++++++--------- bindings/go/unicorn/arm_const.go | 6 +- bindings/go/unicorn/mips_const.go | 59 +- bindings/go/unicorn/ppc_const.go | 608 +++++++++--------- bindings/go/unicorn/unicorn_const.go | 14 +- bindings/java/unicorn/ArmConst.java | 6 +- bindings/java/unicorn/MipsConst.java | 59 +- bindings/java/unicorn/PpcConst.java | 608 +++++++++--------- bindings/java/unicorn/UnicornConst.java | 14 +- bindings/pascal/unicorn/ArmConst.pas | 6 +- bindings/pascal/unicorn/MipsConst.pas | 59 +- bindings/pascal/unicorn/PpcConst.pas | 608 +++++++++--------- bindings/pascal/unicorn/UnicornConst.pas | 14 +- bindings/python/unicorn/arm_const.py | 6 +- bindings/python/unicorn/mips_const.py | 59 +- bindings/python/unicorn/ppc_const.py | 608 +++++++++--------- bindings/python/unicorn/unicorn_const.py | 14 +- .../lib/unicorn_engine/arm_const.rb | 6 +- .../lib/unicorn_engine/mips_const.rb | 59 +- .../lib/unicorn_engine/ppc_const.rb | 608 +++++++++--------- .../lib/unicorn_engine/unicorn_const.rb | 14 +- 24 files changed, 2112 insertions(+), 2010 deletions(-) diff --git a/bindings/dotnet/UnicornManaged/Const/Arm.fs b/bindings/dotnet/UnicornManaged/Const/Arm.fs index d0e039fe..da6b9c04 100644 --- a/bindings/dotnet/UnicornManaged/Const/Arm.fs +++ b/bindings/dotnet/UnicornManaged/Const/Arm.fs @@ -21,9 +21,9 @@ module Arm = let UC_CPU_ARM_CORTEX_M33 = 11 let UC_CPU_ARM_CORTEX_R5 = 12 let UC_CPU_ARM_CORTEX_R5F = 13 - let UC_CPU_ARM_CORTEX_A8 = 14 - let UC_CPU_ARM_CORTEX_A9 = 15 - let UC_CPU_ARM_CORTEX_A7 = 16 + let UC_CPU_ARM_CORTEX_A7 = 14 + let UC_CPU_ARM_CORTEX_A8 = 15 + let UC_CPU_ARM_CORTEX_A9 = 16 let UC_CPU_ARM_CORTEX_A15 = 17 let UC_CPU_ARM_TI925T = 18 let UC_CPU_ARM_SA1100 = 19 diff --git a/bindings/dotnet/UnicornManaged/Const/Common.fs b/bindings/dotnet/UnicornManaged/Const/Common.fs index 9ec83525..0eebf1ec 100644 --- a/bindings/dotnet/UnicornManaged/Const/Common.fs +++ b/bindings/dotnet/UnicornManaged/Const/Common.fs @@ -85,6 +85,10 @@ module Common = let UC_MEM_READ_PROT = 23 let UC_MEM_FETCH_PROT = 24 let UC_MEM_READ_AFTER = 25 + + let UC_TCG_OP_SUB = 0 + let UC_TCG_OP_FLAG_CMP = 1 + let UC_TCG_OP_FLAG_DIRECT = 2 let UC_HOOK_INTR = 1 let UC_HOOK_INSN = 2 let UC_HOOK_CODE = 4 @@ -100,6 +104,8 @@ module Common = let UC_HOOK_MEM_FETCH = 4096 let UC_HOOK_MEM_READ_AFTER = 8192 let UC_HOOK_INSN_INVALID = 16384 + let UC_HOOK_EDGE_GENERATED = 32768 + let UC_HOOK_TCG_OPCODE = 65536 let UC_HOOK_MEM_UNMAPPED = 112 let UC_HOOK_MEM_PROT = 896 let UC_HOOK_MEM_READ_INVALID = 144 @@ -121,10 +127,10 @@ module Common = let UC_CTL_UC_PAGE_SIZE = 1 let UC_CTL_UC_ARCH = 2 let UC_CTL_UC_TIMEOUT = 3 - let UC_CTL_UC_EXITS_CNT = 4 - let UC_CTL_UC_EXITS = 5 - let UC_CTL_CPU_MODEL = 6 - let UC_CTL_TB_EDGE = 7 + let UC_CTL_UC_USE_EXITS = 4 + let UC_CTL_UC_EXITS_CNT = 5 + let UC_CTL_UC_EXITS = 6 + let UC_CTL_CPU_MODEL = 7 let UC_CTL_TB_REQUEST_CACHE = 8 let UC_CTL_TB_REMOVE_CACHE = 9 diff --git a/bindings/dotnet/UnicornManaged/Const/Mips.fs b/bindings/dotnet/UnicornManaged/Const/Mips.fs index 48a65287..046f27e5 100644 --- a/bindings/dotnet/UnicornManaged/Const/Mips.fs +++ b/bindings/dotnet/UnicornManaged/Const/Mips.fs @@ -7,35 +7,36 @@ open System [] module Mips = - let UC_CPU_MIPS_4KC = 0 - let UC_CPU_MIPS_4KM = 1 - let UC_CPU_MIPS_4KECR1 = 2 - let UC_CPU_MIPS_4KEMR1 = 3 - let UC_CPU_MIPS_4KEC = 4 - let UC_CPU_MIPS_4KEM = 5 - let UC_CPU_MIPS_24KC = 6 - let UC_CPU_MIPS_24KEC = 7 - let UC_CPU_MIPS_24KF = 8 - let UC_CPU_MIPS_34KF = 9 - let UC_CPU_MIPS_74KF = 10 - let UC_CPU_MIPS_M14K = 11 - let UC_CPU_MIPS_M14KC = 12 - let UC_CPU_MIPS_P5600 = 13 - let UC_CPU_MIPS_MIPS32R6_GENERIC = 14 - let UC_CPU_MIPS_I7200 = 15 - let UC_CPU_MIPS_R4000 = 16 - let UC_CPU_MIPS_VR5432 = 17 - let UC_CPU_MIPS_5KC = 18 - let UC_CPU_MIPS_5KF = 19 - let UC_CPU_MIPS_20KC = 20 - let UC_CPU_MIPS_MIPS64R2_GENERIC = 21 - let UC_CPU_MIPS_5KEC = 22 - let UC_CPU_MIPS_5KEF = 23 - let UC_CPU_MIPS_I6400 = 24 - let UC_CPU_MIPS_I6500 = 25 - let UC_CPU_MIPS_LOONGSON_2E = 26 - let UC_CPU_MIPS_LOONGSON_2F = 27 - let UC_CPU_MIPS_MIPS64DSPR2 = 28 + let UC_CPU_MIPS32_4KC = 0 + let UC_CPU_MIPS32_4KM = 1 + let UC_CPU_MIPS32_4KECR1 = 2 + let UC_CPU_MIPS32_4KEMR1 = 3 + let UC_CPU_MIPS32_4KEC = 4 + let UC_CPU_MIPS32_4KEM = 5 + let UC_CPU_MIPS32_24KC = 6 + let UC_CPU_MIPS32_24KEC = 7 + let UC_CPU_MIPS32_24KF = 8 + let UC_CPU_MIPS32_34KF = 9 + let UC_CPU_MIPS32_74KF = 10 + let UC_CPU_MIPS32_M14K = 11 + let UC_CPU_MIPS32_M14KC = 12 + let UC_CPU_MIPS32_P5600 = 13 + let UC_CPU_MIPS32_MIPS32R6_GENERIC = 14 + let UC_CPU_MIPS32_I7200 = 15 + + let UC_CPU_MIPS64_R4000 = 0 + let UC_CPU_MIPS64_VR5432 = 1 + let UC_CPU_MIPS64_5KC = 2 + let UC_CPU_MIPS64_5KF = 3 + let UC_CPU_MIPS64_20KC = 4 + let UC_CPU_MIPS64_MIPS64R2_GENERIC = 5 + let UC_CPU_MIPS64_5KEC = 6 + let UC_CPU_MIPS64_5KEF = 7 + let UC_CPU_MIPS64_I6400 = 8 + let UC_CPU_MIPS64_I6500 = 9 + let UC_CPU_MIPS64_LOONGSON_2E = 10 + let UC_CPU_MIPS64_LOONGSON_2F = 11 + let UC_CPU_MIPS64_MIPS64DSPR2 = 12 // MIPS registers diff --git a/bindings/dotnet/UnicornManaged/Const/Ppc.fs b/bindings/dotnet/UnicornManaged/Const/Ppc.fs index cfa5be62..fae0f5e5 100644 --- a/bindings/dotnet/UnicornManaged/Const/Ppc.fs +++ b/bindings/dotnet/UnicornManaged/Const/Ppc.fs @@ -7,306 +7,316 @@ open System [] module Ppc = - let UC_CPU_PPC_401A1 = 0 - let UC_CPU_PPC_401B2 = 1 - let UC_CPU_PPC_401C2 = 2 - let UC_CPU_PPC_401D2 = 3 - let UC_CPU_PPC_401E2 = 4 - let UC_CPU_PPC_401F2 = 5 - let UC_CPU_PPC_401G2 = 6 - let UC_CPU_PPC_COBRA = 7 - let UC_CPU_PPC_403GA = 8 - let UC_CPU_PPC_403GB = 9 - let UC_CPU_PPC_403GC = 10 - let UC_CPU_PPC_403GCX = 11 - let UC_CPU_PPC_405D2 = 12 - let UC_CPU_PPC_405D4 = 13 - let UC_CPU_PPC_405CRA = 14 - let UC_CPU_PPC_405CRB = 15 - let UC_CPU_PPC_405CRC = 16 - let UC_CPU_PPC_405EP = 17 - let UC_CPU_PPC_405EZ = 18 - let UC_CPU_PPC_405GPA = 19 - let UC_CPU_PPC_405GPB = 20 - let UC_CPU_PPC_405GPC = 21 - let UC_CPU_PPC_405GPD = 22 - let UC_CPU_PPC_405GPR = 23 - let UC_CPU_PPC_405LP = 24 - let UC_CPU_PPC_NPE405H = 25 - let UC_CPU_PPC_NPE405H2 = 26 - let UC_CPU_PPC_NPE405L = 27 - let UC_CPU_PPC_NPE4GS3 = 28 - let UC_CPU_PPC_STB03 = 29 - let UC_CPU_PPC_STB04 = 30 - let UC_CPU_PPC_STB25 = 31 - let UC_CPU_PPC_X2VP4 = 32 - let UC_CPU_PPC_440_XILINX = 33 - let UC_CPU_PPC_440EPA = 34 - let UC_CPU_PPC_440EPB = 35 - let UC_CPU_PPC_440GPB = 36 - let UC_CPU_PPC_440GPC = 37 - let UC_CPU_PPC_440GRX = 38 - let UC_CPU_PPC_440GXA = 39 - let UC_CPU_PPC_440GXB = 40 - let UC_CPU_PPC_440GXC = 41 - let UC_CPU_PPC_440GXF = 42 - let UC_CPU_PPC_440SP = 43 - let UC_CPU_PPC_440SP2 = 44 - let UC_CPU_PPC_440SPE = 45 - let UC_CPU_PPC_460EXB = 46 - let UC_CPU_PPC_MPC5XX = 47 - let UC_CPU_PPC_MPC8XX = 48 - let UC_CPU_PPC_G2 = 49 - let UC_CPU_PPC_G2H4 = 50 - let UC_CPU_PPC_G2GP = 51 - let UC_CPU_PPC_G2LS = 52 - let UC_CPU_PPC_MPC603 = 53 - let UC_CPU_PPC_G2_HIP3 = 54 - let UC_CPU_PPC_G2_HIP4 = 55 - let UC_CPU_PPC_G2LE = 56 - let UC_CPU_PPC_G2LEGP = 57 - let UC_CPU_PPC_G2LELS = 58 - let UC_CPU_PPC_G2LEGP1 = 59 - let UC_CPU_PPC_G2LEGP3 = 60 - let UC_CPU_PPC_E200Z5 = 61 - let UC_CPU_PPC_E200Z6 = 62 - let UC_CPU_PPC_E300C1 = 63 - let UC_CPU_PPC_E300C2 = 64 - let UC_CPU_PPC_E300C3 = 65 - let UC_CPU_PPC_E300C4 = 66 - let UC_CPU_PPC_E500V1_V10 = 67 - let UC_CPU_PPC_E500V1_V20 = 68 - let UC_CPU_PPC_E500V2_V10 = 69 - let UC_CPU_PPC_E500V2_V11 = 70 - let UC_CPU_PPC_E500V2_V20 = 71 - let UC_CPU_PPC_E500V2_V21 = 72 - let UC_CPU_PPC_E500V2_V22 = 73 - let UC_CPU_PPC_E500V2_V30 = 74 - let UC_CPU_PPC_E500MC = 75 - let UC_CPU_PPC_E5500 = 76 - let UC_CPU_PPC_E6500 = 77 - let UC_CPU_PPC_E600 = 78 - let UC_CPU_PPC_601_V0 = 79 - let UC_CPU_PPC_601_V1 = 80 - let UC_CPU_PPC_601_V2 = 81 - let UC_CPU_PPC_602 = 82 - let UC_CPU_PPC_603 = 83 - let UC_CPU_PPC_603E_V11 = 84 - let UC_CPU_PPC_603E_V12 = 85 - let UC_CPU_PPC_603E_V13 = 86 - let UC_CPU_PPC_603E_V14 = 87 - let UC_CPU_PPC_603E_V22 = 88 - let UC_CPU_PPC_603E_V3 = 89 - let UC_CPU_PPC_603E_V4 = 90 - let UC_CPU_PPC_603E_V41 = 91 - let UC_CPU_PPC_603E7T = 92 - let UC_CPU_PPC_603E7V = 93 - let UC_CPU_PPC_603E7V1 = 94 - let UC_CPU_PPC_603E7V2 = 95 - let UC_CPU_PPC_603E7 = 96 - let UC_CPU_PPC_603P = 97 - let UC_CPU_PPC_604 = 98 - let UC_CPU_PPC_604E_V10 = 99 - let UC_CPU_PPC_604E_V22 = 100 - let UC_CPU_PPC_604E_V24 = 101 - let UC_CPU_PPC_604R = 102 - let UC_CPU_PPC_7X0_V10 = 103 - let UC_CPU_PPC_7X0_V20 = 104 - let UC_CPU_PPC_7X0_V21 = 105 - let UC_CPU_PPC_7X0_V22 = 106 - let UC_CPU_PPC_7X0_V30 = 107 - let UC_CPU_PPC_7X0_V31 = 108 - let UC_CPU_PPC_740E = 109 - let UC_CPU_PPC_750E = 110 - let UC_CPU_PPC_7X0P = 111 - let UC_CPU_PPC_750CL_V10 = 112 - let UC_CPU_PPC_750CL_V20 = 113 - let UC_CPU_PPC_750CX_V10 = 114 - let UC_CPU_PPC_750CX_V20 = 115 - let UC_CPU_PPC_750CX_V21 = 116 - let UC_CPU_PPC_750CX_V22 = 117 - let UC_CPU_PPC_750CXE_V21 = 118 - let UC_CPU_PPC_750CXE_V22 = 119 - let UC_CPU_PPC_750CXE_V23 = 120 - let UC_CPU_PPC_750CXE_V24 = 121 - let UC_CPU_PPC_750CXE_V24B = 122 - let UC_CPU_PPC_750CXE_V30 = 123 - let UC_CPU_PPC_750CXE_V31 = 124 - let UC_CPU_PPC_750CXE_V31B = 125 - let UC_CPU_PPC_750CXR = 126 - let UC_CPU_PPC_750FL = 127 - let UC_CPU_PPC_750FX_V10 = 128 - let UC_CPU_PPC_750FX_V20 = 129 - let UC_CPU_PPC_750FX_V21 = 130 - let UC_CPU_PPC_750FX_V22 = 131 - let UC_CPU_PPC_750FX_V23 = 132 - let UC_CPU_PPC_750GL = 133 - let UC_CPU_PPC_750GX_V10 = 134 - let UC_CPU_PPC_750GX_V11 = 135 - let UC_CPU_PPC_750GX_V12 = 136 - let UC_CPU_PPC_750L_V20 = 137 - let UC_CPU_PPC_750L_V21 = 138 - let UC_CPU_PPC_750L_V22 = 139 - let UC_CPU_PPC_750L_V30 = 140 - let UC_CPU_PPC_750L_V32 = 141 - let UC_CPU_PPC_7X5_V10 = 142 - let UC_CPU_PPC_7X5_V11 = 143 - let UC_CPU_PPC_7X5_V20 = 144 - let UC_CPU_PPC_7X5_V21 = 145 - let UC_CPU_PPC_7X5_V22 = 146 - let UC_CPU_PPC_7X5_V23 = 147 - let UC_CPU_PPC_7X5_V24 = 148 - let UC_CPU_PPC_7X5_V25 = 149 - let UC_CPU_PPC_7X5_V26 = 150 - let UC_CPU_PPC_7X5_V27 = 151 - let UC_CPU_PPC_7X5_V28 = 152 - let UC_CPU_PPC_7400_V10 = 153 - let UC_CPU_PPC_7400_V11 = 154 - let UC_CPU_PPC_7400_V20 = 155 - let UC_CPU_PPC_7400_V21 = 156 - let UC_CPU_PPC_7400_V22 = 157 - let UC_CPU_PPC_7400_V26 = 158 - let UC_CPU_PPC_7400_V27 = 159 - let UC_CPU_PPC_7400_V28 = 160 - let UC_CPU_PPC_7400_V29 = 161 - let UC_CPU_PPC_7410_V10 = 162 - let UC_CPU_PPC_7410_V11 = 163 - let UC_CPU_PPC_7410_V12 = 164 - let UC_CPU_PPC_7410_V13 = 165 - let UC_CPU_PPC_7410_V14 = 166 - let UC_CPU_PPC_7448_V10 = 167 - let UC_CPU_PPC_7448_V11 = 168 - let UC_CPU_PPC_7448_V20 = 169 - let UC_CPU_PPC_7448_V21 = 170 - let UC_CPU_PPC_7450_V10 = 171 - let UC_CPU_PPC_7450_V11 = 172 - let UC_CPU_PPC_7450_V12 = 173 - let UC_CPU_PPC_7450_V20 = 174 - let UC_CPU_PPC_7450_V21 = 175 - let UC_CPU_PPC_74X1_V23 = 176 - let UC_CPU_PPC_74X1_V210 = 177 - let UC_CPU_PPC_74X5_V10 = 178 - let UC_CPU_PPC_74X5_V21 = 179 - let UC_CPU_PPC_74X5_V32 = 180 - let UC_CPU_PPC_74X5_V33 = 181 - let UC_CPU_PPC_74X5_V34 = 182 - let UC_CPU_PPC_74X7_V10 = 183 - let UC_CPU_PPC_74X7_V11 = 184 - let UC_CPU_PPC_74X7_V12 = 185 - let UC_CPU_PPC_74X7A_V10 = 186 - let UC_CPU_PPC_74X7A_V11 = 187 - let UC_CPU_PPC_74X7A_V12 = 188 - let UC_CPU_PPC_IOP480 = 1 - let UC_CPU_PPC_X2VP20 = 42 - let UC_CPU_PPC_440GRA = 35 - let UC_CPU_PPC_440EPX = 38 - let UC_CPU_PPC_MPC5200_V10 = 59 - let UC_CPU_PPC_MPC5200_V11 = 59 - let UC_CPU_PPC_MPC5200_V12 = 59 - let UC_CPU_PPC_MPC5200B_V20 = 59 - let UC_CPU_PPC_MPC5200B_V21 = 59 - let UC_CPU_PPC_MPC834X = 63 - let UC_CPU_PPC_MPC837X = 66 - let UC_CPU_PPC_E500 = 73 - let UC_CPU_PPC_MPC8533_V10 = 72 - let UC_CPU_PPC_MPC8533_V11 = 73 - let UC_CPU_PPC_MPC8533E_V10 = 72 - let UC_CPU_PPC_MPC8533E_V11 = 73 - let UC_CPU_PPC_MPC8540_V10 = 67 - let UC_CPU_PPC_MPC8540_V20 = 68 - let UC_CPU_PPC_MPC8540_V21 = 68 - let UC_CPU_PPC_MPC8541_V10 = 68 - let UC_CPU_PPC_MPC8541_V11 = 68 - let UC_CPU_PPC_MPC8541E_V10 = 68 - let UC_CPU_PPC_MPC8541E_V11 = 68 - let UC_CPU_PPC_MPC8543_V10 = 69 - let UC_CPU_PPC_MPC8543_V11 = 70 - let UC_CPU_PPC_MPC8543_V20 = 71 - let UC_CPU_PPC_MPC8543_V21 = 72 - let UC_CPU_PPC_MPC8543E_V10 = 69 - let UC_CPU_PPC_MPC8543E_V11 = 70 - let UC_CPU_PPC_MPC8543E_V20 = 71 - let UC_CPU_PPC_MPC8543E_V21 = 72 - let UC_CPU_PPC_MPC8544_V10 = 72 - let UC_CPU_PPC_MPC8544_V11 = 73 - let UC_CPU_PPC_MPC8544E_V11 = 73 - let UC_CPU_PPC_MPC8544E_V10 = 72 - let UC_CPU_PPC_MPC8545_V10 = 69 - let UC_CPU_PPC_MPC8545_V20 = 71 - let UC_CPU_PPC_MPC8545_V21 = 72 - let UC_CPU_PPC_MPC8545E_V10 = 69 - let UC_CPU_PPC_MPC8545E_V20 = 71 - let UC_CPU_PPC_MPC8545E_V21 = 72 - let UC_CPU_PPC_MPC8547E_V10 = 69 - let UC_CPU_PPC_MPC8547E_V20 = 71 - let UC_CPU_PPC_MPC8547E_V21 = 72 - let UC_CPU_PPC_MPC8548_V10 = 69 - let UC_CPU_PPC_MPC8548_V11 = 70 - let UC_CPU_PPC_MPC8548_V20 = 71 - let UC_CPU_PPC_MPC8548_V21 = 72 - let UC_CPU_PPC_MPC8548E_V10 = 69 - let UC_CPU_PPC_MPC8548E_V11 = 70 - let UC_CPU_PPC_MPC8548E_V20 = 71 - let UC_CPU_PPC_MPC8548E_V21 = 72 - let UC_CPU_PPC_MPC8555_V10 = 69 - let UC_CPU_PPC_MPC8555_V11 = 70 - let UC_CPU_PPC_MPC8555E_V10 = 69 - let UC_CPU_PPC_MPC8555E_V11 = 70 - let UC_CPU_PPC_MPC8560_V10 = 69 - let UC_CPU_PPC_MPC8560_V20 = 71 - let UC_CPU_PPC_MPC8560_V21 = 72 - let UC_CPU_PPC_MPC8567 = 73 - let UC_CPU_PPC_MPC8567E = 73 - let UC_CPU_PPC_MPC8568 = 73 - let UC_CPU_PPC_MPC8568E = 73 - let UC_CPU_PPC_MPC8572 = 74 - let UC_CPU_PPC_MPC8572E = 74 - let UC_CPU_PPC_MPC8610 = 78 - let UC_CPU_PPC_MPC8641 = 78 - let UC_CPU_PPC_MPC8641D = 78 + let UC_CPU_PPC_401 = 0 + let UC_CPU_PPC_401A1 = 1 + let UC_CPU_PPC_401B2 = 2 + let UC_CPU_PPC_401C2 = 3 + let UC_CPU_PPC_401D2 = 4 + let UC_CPU_PPC_401E2 = 5 + let UC_CPU_PPC_401F2 = 6 + let UC_CPU_PPC_401G2 = 7 + let UC_CPU_PPC_IOP480 = 8 + let UC_CPU_PPC_COBRA = 9 + let UC_CPU_PPC_403GA = 10 + let UC_CPU_PPC_403GB = 11 + let UC_CPU_PPC_403GC = 12 + let UC_CPU_PPC_403GCX = 13 + let UC_CPU_PPC_405D2 = 14 + let UC_CPU_PPC_405D4 = 15 + let UC_CPU_PPC_405CRA = 16 + let UC_CPU_PPC_405CRB = 17 + let UC_CPU_PPC_405CRC = 18 + let UC_CPU_PPC_405EP = 19 + let UC_CPU_PPC_405EZ = 20 + let UC_CPU_PPC_405GPA = 21 + let UC_CPU_PPC_405GPB = 22 + let UC_CPU_PPC_405GPC = 23 + let UC_CPU_PPC_405GPD = 24 + let UC_CPU_PPC_405GPR = 25 + let UC_CPU_PPC_405LP = 26 + let UC_CPU_PPC_NPE405H = 27 + let UC_CPU_PPC_NPE405H2 = 28 + let UC_CPU_PPC_NPE405L = 29 + let UC_CPU_PPC_NPE4GS3 = 30 + let UC_CPU_PPC_STB03 = 31 + let UC_CPU_PPC_STB04 = 32 + let UC_CPU_PPC_STB25 = 33 + let UC_CPU_PPC_X2VP4 = 34 + let UC_CPU_PPC_X2VP20 = 35 + let UC_CPU_PPC_440_XILINX = 36 + let UC_CPU_PPC_440_XILINX_W_DFPU = 37 + let UC_CPU_PPC_440EPA = 38 + let UC_CPU_PPC_440EPB = 39 + let UC_CPU_PPC_440EPX = 40 + let UC_CPU_PPC_460EXB = 41 + let UC_CPU_PPC_G2 = 42 + let UC_CPU_PPC_G2H4 = 43 + let UC_CPU_PPC_G2GP = 44 + let UC_CPU_PPC_G2LS = 45 + let UC_CPU_PPC_G2HIP3 = 46 + let UC_CPU_PPC_G2HIP4 = 47 + let UC_CPU_PPC_MPC603 = 48 + let UC_CPU_PPC_G2LE = 49 + let UC_CPU_PPC_G2LEGP = 50 + let UC_CPU_PPC_G2LELS = 51 + let UC_CPU_PPC_G2LEGP1 = 52 + let UC_CPU_PPC_G2LEGP3 = 53 + let UC_CPU_PPC_MPC5200_V10 = 54 + let UC_CPU_PPC_MPC5200_V11 = 55 + let UC_CPU_PPC_MPC5200_V12 = 56 + let UC_CPU_PPC_MPC5200B_V20 = 57 + let UC_CPU_PPC_MPC5200B_V21 = 58 + let UC_CPU_PPC_E200Z5 = 59 + let UC_CPU_PPC_E200Z6 = 60 + let UC_CPU_PPC_E300C1 = 61 + let UC_CPU_PPC_E300C2 = 62 + let UC_CPU_PPC_E300C3 = 63 + let UC_CPU_PPC_E300C4 = 64 + let UC_CPU_PPC_MPC8343 = 65 + let UC_CPU_PPC_MPC8343A = 66 + let UC_CPU_PPC_MPC8343E = 67 + let UC_CPU_PPC_MPC8343EA = 68 + let UC_CPU_PPC_MPC8347T = 69 + let UC_CPU_PPC_MPC8347P = 70 + let UC_CPU_PPC_MPC8347AT = 71 + let UC_CPU_PPC_MPC8347AP = 72 + let UC_CPU_PPC_MPC8347ET = 73 + let UC_CPU_PPC_MPC8347EP = 74 + let UC_CPU_PPC_MPC8347EAT = 75 + let UC_CPU_PPC_MPC8347EAP = 76 + let UC_CPU_PPC_MPC8349 = 77 + let UC_CPU_PPC_MPC8349A = 78 + let UC_CPU_PPC_MPC8349E = 79 + let UC_CPU_PPC_MPC8349EA = 80 + let UC_CPU_PPC_MPC8377 = 81 + let UC_CPU_PPC_MPC8377E = 82 + let UC_CPU_PPC_MPC8378 = 83 + let UC_CPU_PPC_MPC8378E = 84 + let UC_CPU_PPC_MPC8379 = 85 + let UC_CPU_PPC_MPC8379E = 86 + let UC_CPU_PPC_E500_V10 = 87 + let UC_CPU_PPC_E500_V20 = 88 + let UC_CPU_PPC_E500V2_V10 = 89 + let UC_CPU_PPC_E500V2_V20 = 90 + let UC_CPU_PPC_E500V2_V21 = 91 + let UC_CPU_PPC_E500V2_V22 = 92 + let UC_CPU_PPC_E500V2_V30 = 93 + let UC_CPU_PPC_E500MC = 94 + let UC_CPU_PPC_MPC8533_V10 = 95 + let UC_CPU_PPC_MPC8533_V11 = 96 + let UC_CPU_PPC_MPC8533E_V10 = 97 + let UC_CPU_PPC_MPC8533E_V11 = 98 + let UC_CPU_PPC_MPC8540_V10 = 99 + let UC_CPU_PPC_MPC8540_V20 = 100 + let UC_CPU_PPC_MPC8540_V21 = 101 + let UC_CPU_PPC_MPC8541_V10 = 102 + let UC_CPU_PPC_MPC8541_V11 = 103 + let UC_CPU_PPC_MPC8541E_V10 = 104 + let UC_CPU_PPC_MPC8541E_V11 = 105 + let UC_CPU_PPC_MPC8543_V10 = 106 + let UC_CPU_PPC_MPC8543_V11 = 107 + let UC_CPU_PPC_MPC8543_V20 = 108 + let UC_CPU_PPC_MPC8543_V21 = 109 + let UC_CPU_PPC_MPC8543E_V10 = 110 + let UC_CPU_PPC_MPC8543E_V11 = 111 + let UC_CPU_PPC_MPC8543E_V20 = 112 + let UC_CPU_PPC_MPC8543E_V21 = 113 + let UC_CPU_PPC_MPC8544_V10 = 114 + let UC_CPU_PPC_MPC8544_V11 = 115 + let UC_CPU_PPC_MPC8544E_V10 = 116 + let UC_CPU_PPC_MPC8544E_V11 = 117 + let UC_CPU_PPC_MPC8545_V20 = 118 + let UC_CPU_PPC_MPC8545_V21 = 119 + let UC_CPU_PPC_MPC8545E_V20 = 120 + let UC_CPU_PPC_MPC8545E_V21 = 121 + let UC_CPU_PPC_MPC8547E_V20 = 122 + let UC_CPU_PPC_MPC8547E_V21 = 123 + let UC_CPU_PPC_MPC8548_V10 = 124 + let UC_CPU_PPC_MPC8548_V11 = 125 + let UC_CPU_PPC_MPC8548_V20 = 126 + let UC_CPU_PPC_MPC8548_V21 = 127 + let UC_CPU_PPC_MPC8548E_V10 = 128 + let UC_CPU_PPC_MPC8548E_V11 = 129 + let UC_CPU_PPC_MPC8548E_V20 = 130 + let UC_CPU_PPC_MPC8548E_V21 = 131 + let UC_CPU_PPC_MPC8555_V10 = 132 + let UC_CPU_PPC_MPC8555_V11 = 133 + let UC_CPU_PPC_MPC8555E_V10 = 134 + let UC_CPU_PPC_MPC8555E_V11 = 135 + let UC_CPU_PPC_MPC8560_V10 = 136 + let UC_CPU_PPC_MPC8560_V20 = 137 + let UC_CPU_PPC_MPC8560_V21 = 138 + let UC_CPU_PPC_MPC8567 = 139 + let UC_CPU_PPC_MPC8567E = 140 + let UC_CPU_PPC_MPC8568 = 141 + let UC_CPU_PPC_MPC8568E = 142 + let UC_CPU_PPC_MPC8572 = 143 + let UC_CPU_PPC_MPC8572E = 144 + let UC_CPU_PPC_E600 = 145 + let UC_CPU_PPC_MPC8610 = 146 + let UC_CPU_PPC_MPC8641 = 147 + let UC_CPU_PPC_MPC8641D = 148 + let UC_CPU_PPC_601_V0 = 149 + let UC_CPU_PPC_601_V1 = 150 + let UC_CPU_PPC_601_V2 = 151 + let UC_CPU_PPC_602 = 152 + let UC_CPU_PPC_603 = 153 + let UC_CPU_PPC_603E_V1_1 = 154 + let UC_CPU_PPC_603E_V1_2 = 155 + let UC_CPU_PPC_603E_V1_3 = 156 + let UC_CPU_PPC_603E_V1_4 = 157 + let UC_CPU_PPC_603E_V2_2 = 158 + let UC_CPU_PPC_603E_V3 = 159 + let UC_CPU_PPC_603E_V4 = 160 + let UC_CPU_PPC_603E_V4_1 = 161 + let UC_CPU_PPC_603E7 = 162 + let UC_CPU_PPC_603E7T = 163 + let UC_CPU_PPC_603E7V = 164 + let UC_CPU_PPC_603E7V1 = 165 + let UC_CPU_PPC_603E7V2 = 166 + let UC_CPU_PPC_603P = 167 + let UC_CPU_PPC_604 = 168 + let UC_CPU_PPC_604E_V1_0 = 169 + let UC_CPU_PPC_604E_V2_2 = 170 + let UC_CPU_PPC_604E_V2_4 = 171 + let UC_CPU_PPC_604R = 172 + let UC_CPU_PPC_740_V1_0 = 173 + let UC_CPU_PPC_750_V1_0 = 174 + let UC_CPU_PPC_740_V2_0 = 175 + let UC_CPU_PPC_750_V2_0 = 176 + let UC_CPU_PPC_740_V2_1 = 177 + let UC_CPU_PPC_750_V2_1 = 178 + let UC_CPU_PPC_740_V2_2 = 179 + let UC_CPU_PPC_750_V2_2 = 180 + let UC_CPU_PPC_740_V3_0 = 181 + let UC_CPU_PPC_750_V3_0 = 182 + let UC_CPU_PPC_740_V3_1 = 183 + let UC_CPU_PPC_750_V3_1 = 184 + let UC_CPU_PPC_740E = 185 + let UC_CPU_PPC_750E = 186 + let UC_CPU_PPC_740P = 187 + let UC_CPU_PPC_750P = 188 + let UC_CPU_PPC_750CL_V1_0 = 189 + let UC_CPU_PPC_750CL_V2_0 = 190 + let UC_CPU_PPC_750CX_V1_0 = 191 + let UC_CPU_PPC_750CX_V2_0 = 192 + let UC_CPU_PPC_750CX_V2_1 = 193 + let UC_CPU_PPC_750CX_V2_2 = 194 + let UC_CPU_PPC_750CXE_V2_1 = 195 + let UC_CPU_PPC_750CXE_V2_2 = 196 + let UC_CPU_PPC_750CXE_V2_3 = 197 + let UC_CPU_PPC_750CXE_V2_4 = 198 + let UC_CPU_PPC_750CXE_V2_4B = 199 + let UC_CPU_PPC_750CXE_V3_0 = 200 + let UC_CPU_PPC_750CXE_V3_1 = 201 + let UC_CPU_PPC_750CXE_V3_1B = 202 + let UC_CPU_PPC_750CXR = 203 + let UC_CPU_PPC_750FL = 204 + let UC_CPU_PPC_750FX_V1_0 = 205 + let UC_CPU_PPC_750FX_V2_0 = 206 + let UC_CPU_PPC_750FX_V2_1 = 207 + let UC_CPU_PPC_750FX_V2_2 = 208 + let UC_CPU_PPC_750FX_V2_3 = 209 + let UC_CPU_PPC_750GL = 210 + let UC_CPU_PPC_750GX_V1_0 = 211 + let UC_CPU_PPC_750GX_V1_1 = 212 + let UC_CPU_PPC_750GX_V1_2 = 213 + let UC_CPU_PPC_750L_V2_0 = 214 + let UC_CPU_PPC_750L_V2_1 = 215 + let UC_CPU_PPC_750L_V2_2 = 216 + let UC_CPU_PPC_750L_V3_0 = 217 + let UC_CPU_PPC_750L_V3_2 = 218 + let UC_CPU_PPC_745_V1_0 = 219 + let UC_CPU_PPC_755_V1_0 = 220 + let UC_CPU_PPC_745_V1_1 = 221 + let UC_CPU_PPC_755_V1_1 = 222 + let UC_CPU_PPC_745_V2_0 = 223 + let UC_CPU_PPC_755_V2_0 = 224 + let UC_CPU_PPC_745_V2_1 = 225 + let UC_CPU_PPC_755_V2_1 = 226 + let UC_CPU_PPC_745_V2_2 = 227 + let UC_CPU_PPC_755_V2_2 = 228 + let UC_CPU_PPC_745_V2_3 = 229 + let UC_CPU_PPC_755_V2_3 = 230 + let UC_CPU_PPC_745_V2_4 = 231 + let UC_CPU_PPC_755_V2_4 = 232 + let UC_CPU_PPC_745_V2_5 = 233 + let UC_CPU_PPC_755_V2_5 = 234 + let UC_CPU_PPC_745_V2_6 = 235 + let UC_CPU_PPC_755_V2_6 = 236 + let UC_CPU_PPC_745_V2_7 = 237 + let UC_CPU_PPC_755_V2_7 = 238 + let UC_CPU_PPC_745_V2_8 = 239 + let UC_CPU_PPC_755_V2_8 = 240 + let UC_CPU_PPC_7400_V1_0 = 241 + let UC_CPU_PPC_7400_V1_1 = 242 + let UC_CPU_PPC_7400_V2_0 = 243 + let UC_CPU_PPC_7400_V2_1 = 244 + let UC_CPU_PPC_7400_V2_2 = 245 + let UC_CPU_PPC_7400_V2_6 = 246 + let UC_CPU_PPC_7400_V2_7 = 247 + let UC_CPU_PPC_7400_V2_8 = 248 + let UC_CPU_PPC_7400_V2_9 = 249 + let UC_CPU_PPC_7410_V1_0 = 250 + let UC_CPU_PPC_7410_V1_1 = 251 + let UC_CPU_PPC_7410_V1_2 = 252 + let UC_CPU_PPC_7410_V1_3 = 253 + let UC_CPU_PPC_7410_V1_4 = 254 + let UC_CPU_PPC_7448_V1_0 = 255 + let UC_CPU_PPC_7448_V1_1 = 256 + let UC_CPU_PPC_7448_V2_0 = 257 + let UC_CPU_PPC_7448_V2_1 = 258 + let UC_CPU_PPC_7450_V1_0 = 259 + let UC_CPU_PPC_7450_V1_1 = 260 + let UC_CPU_PPC_7450_V1_2 = 261 + let UC_CPU_PPC_7450_V2_0 = 262 + let UC_CPU_PPC_7450_V2_1 = 263 + let UC_CPU_PPC_7441_V2_1 = 264 + let UC_CPU_PPC_7441_V2_3 = 265 + let UC_CPU_PPC_7451_V2_3 = 266 + let UC_CPU_PPC_7441_V2_10 = 267 + let UC_CPU_PPC_7451_V2_10 = 268 + let UC_CPU_PPC_7445_V1_0 = 269 + let UC_CPU_PPC_7455_V1_0 = 270 + let UC_CPU_PPC_7445_V2_1 = 271 + let UC_CPU_PPC_7455_V2_1 = 272 + let UC_CPU_PPC_7445_V3_2 = 273 + let UC_CPU_PPC_7455_V3_2 = 274 + let UC_CPU_PPC_7445_V3_3 = 275 + let UC_CPU_PPC_7455_V3_3 = 276 + let UC_CPU_PPC_7445_V3_4 = 277 + let UC_CPU_PPC_7455_V3_4 = 278 + let UC_CPU_PPC_7447_V1_0 = 279 + let UC_CPU_PPC_7457_V1_0 = 280 + let UC_CPU_PPC_7447_V1_1 = 281 + let UC_CPU_PPC_7457_V1_1 = 282 + let UC_CPU_PPC_7457_V1_2 = 283 + let UC_CPU_PPC_7447A_V1_0 = 284 + let UC_CPU_PPC_7457A_V1_0 = 285 + let UC_CPU_PPC_7447A_V1_1 = 286 + let UC_CPU_PPC_7457A_V1_1 = 287 + let UC_CPU_PPC_7447A_V1_2 = 288 + let UC_CPU_PPC_7457A_V1_2 = 289 - let UC_CPU_PPC64_620 = 0 - let UC_CPU_PPC64_630 = 1 - let UC_CPU_PPC64_631 = 2 - let UC_CPU_PPC64_POWER4 = 3 - let UC_CPU_PPC64_POWER4P = 4 - let UC_CPU_PPC64_POWER5 = 5 - let UC_CPU_PPC64_POWER5P_V21 = 6 - let UC_CPU_PPC64_POWER6 = 7 - let UC_CPU_PPC64_POWER_SERVER_MASK = 8 - let UC_CPU_PPC64_POWER7_BASE = 9 - let UC_CPU_PPC64_POWER7_V23 = 10 - let UC_CPU_PPC64_POWER7P_BASE = 11 - let UC_CPU_PPC64_POWER7P_V21 = 12 - let UC_CPU_PPC64_POWER8E_BASE = 13 - let UC_CPU_PPC64_POWER8E_V21 = 14 - let UC_CPU_PPC64_POWER8_BASE = 15 - let UC_CPU_PPC64_POWER8_V20 = 16 - let UC_CPU_PPC64_POWER8NVL_BASE = 17 - let UC_CPU_PPC64_POWER8NVL_V10 = 18 - let UC_CPU_PPC64_POWER9_BASE = 19 - let UC_CPU_PPC64_POWER9_DD1 = 20 - let UC_CPU_PPC64_POWER9_DD20 = 21 - let UC_CPU_PPC64_POWER10_BASE = 22 - let UC_CPU_PPC64_POWER10_DD1 = 23 - let UC_CPU_PPC64_970_V22 = 24 - let UC_CPU_PPC64_970FX_V10 = 25 - let UC_CPU_PPC64_970FX_V20 = 26 - let UC_CPU_PPC64_970FX_V21 = 27 - let UC_CPU_PPC64_970FX_V30 = 28 - let UC_CPU_PPC64_970FX_V31 = 29 - let UC_CPU_PPC64_970MP_V10 = 30 - let UC_CPU_PPC64_970MP_V11 = 31 - let UC_CPU_PPC64_CELL_V10 = 32 - let UC_CPU_PPC64_CELL_V20 = 33 - let UC_CPU_PPC64_CELL_V30 = 34 - let UC_CPU_PPC64_CELL_V31 = 35 - let UC_CPU_PPC64_RS64 = 36 - let UC_CPU_PPC64_RS64II = 37 - let UC_CPU_PPC64_RS64III = 38 - let UC_CPU_PPC64_RS64IV = 39 - let UC_CPU_PPC64_CELL_V32 = 35 - let UC_CPU_PPC64_CELL = 35 + let UC_CPU_PPC_E5500 = 0 + let UC_CPU_PPC_E6500 = 1 + let UC_CPU_PPC_970_V2_2 = 2 + let UC_CPU_PPC_970FX_V1_0 = 3 + let UC_CPU_PPC_970FX_V2_0 = 4 + let UC_CPU_PPC_970FX_V2_1 = 5 + let UC_CPU_PPC_970FX_V3_0 = 6 + let UC_CPU_PPC_970FX_V3_1 = 7 + let UC_CPU_PPC_970MP_V1_0 = 8 + let UC_CPU_PPC_970MP_V1_1 = 9 + let UC_CPU_PPC_POWER5_V2_1 = 10 + let UC_CPU_PPC_POWER7_V2_3 = 11 + let UC_CPU_PPC_POWER7_V2_1 = 12 + let UC_CPU_PPC_POWER8E_V2_1 = 13 + let UC_CPU_PPC_POWER8_V2_0 = 14 + let UC_CPU_PPC_POWER8NVL_V1_0 = 15 + let UC_CPU_PPC_POWER9_V1_0 = 16 + let UC_CPU_PPC_POWER9_V2_0 = 17 + let UC_CPU_PPC_POWER10_V1_0 = 18 // PPC registers diff --git a/bindings/go/unicorn/arm_const.go b/bindings/go/unicorn/arm_const.go index 007c9cad..91353de2 100644 --- a/bindings/go/unicorn/arm_const.go +++ b/bindings/go/unicorn/arm_const.go @@ -16,9 +16,9 @@ const ( CPU_ARM_CORTEX_M33 = 11 CPU_ARM_CORTEX_R5 = 12 CPU_ARM_CORTEX_R5F = 13 - CPU_ARM_CORTEX_A8 = 14 - CPU_ARM_CORTEX_A9 = 15 - CPU_ARM_CORTEX_A7 = 16 + CPU_ARM_CORTEX_A7 = 14 + CPU_ARM_CORTEX_A8 = 15 + CPU_ARM_CORTEX_A9 = 16 CPU_ARM_CORTEX_A15 = 17 CPU_ARM_TI925T = 18 CPU_ARM_SA1100 = 19 diff --git a/bindings/go/unicorn/mips_const.go b/bindings/go/unicorn/mips_const.go index e45291b5..cb98a222 100644 --- a/bindings/go/unicorn/mips_const.go +++ b/bindings/go/unicorn/mips_const.go @@ -2,35 +2,36 @@ package unicorn // For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT [mips_const.go] const ( - CPU_MIPS_4KC = 0 - CPU_MIPS_4KM = 1 - CPU_MIPS_4KECR1 = 2 - CPU_MIPS_4KEMR1 = 3 - CPU_MIPS_4KEC = 4 - CPU_MIPS_4KEM = 5 - CPU_MIPS_24KC = 6 - CPU_MIPS_24KEC = 7 - CPU_MIPS_24KF = 8 - CPU_MIPS_34KF = 9 - CPU_MIPS_74KF = 10 - CPU_MIPS_M14K = 11 - CPU_MIPS_M14KC = 12 - CPU_MIPS_P5600 = 13 - CPU_MIPS_MIPS32R6_GENERIC = 14 - CPU_MIPS_I7200 = 15 - CPU_MIPS_R4000 = 16 - CPU_MIPS_VR5432 = 17 - CPU_MIPS_5KC = 18 - CPU_MIPS_5KF = 19 - CPU_MIPS_20KC = 20 - CPU_MIPS_MIPS64R2_GENERIC = 21 - CPU_MIPS_5KEC = 22 - CPU_MIPS_5KEF = 23 - CPU_MIPS_I6400 = 24 - CPU_MIPS_I6500 = 25 - CPU_MIPS_LOONGSON_2E = 26 - CPU_MIPS_LOONGSON_2F = 27 - CPU_MIPS_MIPS64DSPR2 = 28 + CPU_MIPS32_4KC = 0 + CPU_MIPS32_4KM = 1 + CPU_MIPS32_4KECR1 = 2 + CPU_MIPS32_4KEMR1 = 3 + CPU_MIPS32_4KEC = 4 + CPU_MIPS32_4KEM = 5 + CPU_MIPS32_24KC = 6 + CPU_MIPS32_24KEC = 7 + CPU_MIPS32_24KF = 8 + CPU_MIPS32_34KF = 9 + CPU_MIPS32_74KF = 10 + CPU_MIPS32_M14K = 11 + CPU_MIPS32_M14KC = 12 + CPU_MIPS32_P5600 = 13 + CPU_MIPS32_MIPS32R6_GENERIC = 14 + CPU_MIPS32_I7200 = 15 + + CPU_MIPS64_R4000 = 0 + CPU_MIPS64_VR5432 = 1 + CPU_MIPS64_5KC = 2 + CPU_MIPS64_5KF = 3 + CPU_MIPS64_20KC = 4 + CPU_MIPS64_MIPS64R2_GENERIC = 5 + CPU_MIPS64_5KEC = 6 + CPU_MIPS64_5KEF = 7 + CPU_MIPS64_I6400 = 8 + CPU_MIPS64_I6500 = 9 + CPU_MIPS64_LOONGSON_2E = 10 + CPU_MIPS64_LOONGSON_2F = 11 + CPU_MIPS64_MIPS64DSPR2 = 12 // MIPS registers diff --git a/bindings/go/unicorn/ppc_const.go b/bindings/go/unicorn/ppc_const.go index 03eba18e..5edd0580 100644 --- a/bindings/go/unicorn/ppc_const.go +++ b/bindings/go/unicorn/ppc_const.go @@ -2,306 +2,316 @@ package unicorn // For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT [ppc_const.go] const ( - CPU_PPC_401A1 = 0 - CPU_PPC_401B2 = 1 - CPU_PPC_401C2 = 2 - CPU_PPC_401D2 = 3 - CPU_PPC_401E2 = 4 - CPU_PPC_401F2 = 5 - CPU_PPC_401G2 = 6 - CPU_PPC_COBRA = 7 - CPU_PPC_403GA = 8 - CPU_PPC_403GB = 9 - CPU_PPC_403GC = 10 - CPU_PPC_403GCX = 11 - CPU_PPC_405D2 = 12 - CPU_PPC_405D4 = 13 - CPU_PPC_405CRA = 14 - CPU_PPC_405CRB = 15 - CPU_PPC_405CRC = 16 - CPU_PPC_405EP = 17 - CPU_PPC_405EZ = 18 - CPU_PPC_405GPA = 19 - CPU_PPC_405GPB = 20 - CPU_PPC_405GPC = 21 - CPU_PPC_405GPD = 22 - CPU_PPC_405GPR = 23 - CPU_PPC_405LP = 24 - CPU_PPC_NPE405H = 25 - CPU_PPC_NPE405H2 = 26 - CPU_PPC_NPE405L = 27 - CPU_PPC_NPE4GS3 = 28 - CPU_PPC_STB03 = 29 - CPU_PPC_STB04 = 30 - CPU_PPC_STB25 = 31 - CPU_PPC_X2VP4 = 32 - CPU_PPC_440_XILINX = 33 - CPU_PPC_440EPA = 34 - CPU_PPC_440EPB = 35 - CPU_PPC_440GPB = 36 - CPU_PPC_440GPC = 37 - CPU_PPC_440GRX = 38 - CPU_PPC_440GXA = 39 - CPU_PPC_440GXB = 40 - CPU_PPC_440GXC = 41 - CPU_PPC_440GXF = 42 - CPU_PPC_440SP = 43 - CPU_PPC_440SP2 = 44 - CPU_PPC_440SPE = 45 - CPU_PPC_460EXB = 46 - CPU_PPC_MPC5XX = 47 - CPU_PPC_MPC8XX = 48 - CPU_PPC_G2 = 49 - CPU_PPC_G2H4 = 50 - CPU_PPC_G2GP = 51 - CPU_PPC_G2LS = 52 - CPU_PPC_MPC603 = 53 - CPU_PPC_G2_HIP3 = 54 - CPU_PPC_G2_HIP4 = 55 - CPU_PPC_G2LE = 56 - CPU_PPC_G2LEGP = 57 - CPU_PPC_G2LELS = 58 - CPU_PPC_G2LEGP1 = 59 - CPU_PPC_G2LEGP3 = 60 - CPU_PPC_E200Z5 = 61 - CPU_PPC_E200Z6 = 62 - CPU_PPC_E300C1 = 63 - CPU_PPC_E300C2 = 64 - CPU_PPC_E300C3 = 65 - CPU_PPC_E300C4 = 66 - CPU_PPC_E500V1_V10 = 67 - CPU_PPC_E500V1_V20 = 68 - CPU_PPC_E500V2_V10 = 69 - CPU_PPC_E500V2_V11 = 70 - CPU_PPC_E500V2_V20 = 71 - CPU_PPC_E500V2_V21 = 72 - CPU_PPC_E500V2_V22 = 73 - CPU_PPC_E500V2_V30 = 74 - CPU_PPC_E500MC = 75 - CPU_PPC_E5500 = 76 - CPU_PPC_E6500 = 77 - CPU_PPC_E600 = 78 - CPU_PPC_601_V0 = 79 - CPU_PPC_601_V1 = 80 - CPU_PPC_601_V2 = 81 - CPU_PPC_602 = 82 - CPU_PPC_603 = 83 - CPU_PPC_603E_V11 = 84 - CPU_PPC_603E_V12 = 85 - CPU_PPC_603E_V13 = 86 - CPU_PPC_603E_V14 = 87 - CPU_PPC_603E_V22 = 88 - CPU_PPC_603E_V3 = 89 - CPU_PPC_603E_V4 = 90 - CPU_PPC_603E_V41 = 91 - CPU_PPC_603E7T = 92 - CPU_PPC_603E7V = 93 - CPU_PPC_603E7V1 = 94 - CPU_PPC_603E7V2 = 95 - CPU_PPC_603E7 = 96 - CPU_PPC_603P = 97 - CPU_PPC_604 = 98 - CPU_PPC_604E_V10 = 99 - CPU_PPC_604E_V22 = 100 - CPU_PPC_604E_V24 = 101 - CPU_PPC_604R = 102 - CPU_PPC_7X0_V10 = 103 - CPU_PPC_7X0_V20 = 104 - CPU_PPC_7X0_V21 = 105 - CPU_PPC_7X0_V22 = 106 - CPU_PPC_7X0_V30 = 107 - CPU_PPC_7X0_V31 = 108 - CPU_PPC_740E = 109 - CPU_PPC_750E = 110 - CPU_PPC_7X0P = 111 - CPU_PPC_750CL_V10 = 112 - CPU_PPC_750CL_V20 = 113 - CPU_PPC_750CX_V10 = 114 - CPU_PPC_750CX_V20 = 115 - CPU_PPC_750CX_V21 = 116 - CPU_PPC_750CX_V22 = 117 - CPU_PPC_750CXE_V21 = 118 - CPU_PPC_750CXE_V22 = 119 - CPU_PPC_750CXE_V23 = 120 - CPU_PPC_750CXE_V24 = 121 - CPU_PPC_750CXE_V24B = 122 - CPU_PPC_750CXE_V30 = 123 - CPU_PPC_750CXE_V31 = 124 - CPU_PPC_750CXE_V31B = 125 - CPU_PPC_750CXR = 126 - CPU_PPC_750FL = 127 - CPU_PPC_750FX_V10 = 128 - CPU_PPC_750FX_V20 = 129 - CPU_PPC_750FX_V21 = 130 - CPU_PPC_750FX_V22 = 131 - CPU_PPC_750FX_V23 = 132 - CPU_PPC_750GL = 133 - CPU_PPC_750GX_V10 = 134 - CPU_PPC_750GX_V11 = 135 - CPU_PPC_750GX_V12 = 136 - CPU_PPC_750L_V20 = 137 - CPU_PPC_750L_V21 = 138 - CPU_PPC_750L_V22 = 139 - CPU_PPC_750L_V30 = 140 - CPU_PPC_750L_V32 = 141 - CPU_PPC_7X5_V10 = 142 - CPU_PPC_7X5_V11 = 143 - CPU_PPC_7X5_V20 = 144 - CPU_PPC_7X5_V21 = 145 - CPU_PPC_7X5_V22 = 146 - CPU_PPC_7X5_V23 = 147 - CPU_PPC_7X5_V24 = 148 - CPU_PPC_7X5_V25 = 149 - CPU_PPC_7X5_V26 = 150 - CPU_PPC_7X5_V27 = 151 - CPU_PPC_7X5_V28 = 152 - CPU_PPC_7400_V10 = 153 - CPU_PPC_7400_V11 = 154 - CPU_PPC_7400_V20 = 155 - CPU_PPC_7400_V21 = 156 - CPU_PPC_7400_V22 = 157 - CPU_PPC_7400_V26 = 158 - CPU_PPC_7400_V27 = 159 - CPU_PPC_7400_V28 = 160 - CPU_PPC_7400_V29 = 161 - CPU_PPC_7410_V10 = 162 - CPU_PPC_7410_V11 = 163 - CPU_PPC_7410_V12 = 164 - CPU_PPC_7410_V13 = 165 - CPU_PPC_7410_V14 = 166 - CPU_PPC_7448_V10 = 167 - CPU_PPC_7448_V11 = 168 - CPU_PPC_7448_V20 = 169 - CPU_PPC_7448_V21 = 170 - CPU_PPC_7450_V10 = 171 - CPU_PPC_7450_V11 = 172 - CPU_PPC_7450_V12 = 173 - CPU_PPC_7450_V20 = 174 - CPU_PPC_7450_V21 = 175 - CPU_PPC_74X1_V23 = 176 - CPU_PPC_74X1_V210 = 177 - CPU_PPC_74X5_V10 = 178 - CPU_PPC_74X5_V21 = 179 - CPU_PPC_74X5_V32 = 180 - CPU_PPC_74X5_V33 = 181 - CPU_PPC_74X5_V34 = 182 - CPU_PPC_74X7_V10 = 183 - CPU_PPC_74X7_V11 = 184 - CPU_PPC_74X7_V12 = 185 - CPU_PPC_74X7A_V10 = 186 - CPU_PPC_74X7A_V11 = 187 - CPU_PPC_74X7A_V12 = 188 - CPU_PPC_IOP480 = 1 - CPU_PPC_X2VP20 = 42 - CPU_PPC_440GRA = 35 - CPU_PPC_440EPX = 38 - CPU_PPC_MPC5200_V10 = 59 - CPU_PPC_MPC5200_V11 = 59 - CPU_PPC_MPC5200_V12 = 59 - CPU_PPC_MPC5200B_V20 = 59 - CPU_PPC_MPC5200B_V21 = 59 - CPU_PPC_MPC834X = 63 - CPU_PPC_MPC837X = 66 - CPU_PPC_E500 = 73 - CPU_PPC_MPC8533_V10 = 72 - CPU_PPC_MPC8533_V11 = 73 - CPU_PPC_MPC8533E_V10 = 72 - CPU_PPC_MPC8533E_V11 = 73 - CPU_PPC_MPC8540_V10 = 67 - CPU_PPC_MPC8540_V20 = 68 - CPU_PPC_MPC8540_V21 = 68 - CPU_PPC_MPC8541_V10 = 68 - CPU_PPC_MPC8541_V11 = 68 - CPU_PPC_MPC8541E_V10 = 68 - CPU_PPC_MPC8541E_V11 = 68 - CPU_PPC_MPC8543_V10 = 69 - CPU_PPC_MPC8543_V11 = 70 - CPU_PPC_MPC8543_V20 = 71 - CPU_PPC_MPC8543_V21 = 72 - CPU_PPC_MPC8543E_V10 = 69 - CPU_PPC_MPC8543E_V11 = 70 - CPU_PPC_MPC8543E_V20 = 71 - CPU_PPC_MPC8543E_V21 = 72 - CPU_PPC_MPC8544_V10 = 72 - CPU_PPC_MPC8544_V11 = 73 - CPU_PPC_MPC8544E_V11 = 73 - CPU_PPC_MPC8544E_V10 = 72 - CPU_PPC_MPC8545_V10 = 69 - CPU_PPC_MPC8545_V20 = 71 - CPU_PPC_MPC8545_V21 = 72 - CPU_PPC_MPC8545E_V10 = 69 - CPU_PPC_MPC8545E_V20 = 71 - CPU_PPC_MPC8545E_V21 = 72 - CPU_PPC_MPC8547E_V10 = 69 - CPU_PPC_MPC8547E_V20 = 71 - CPU_PPC_MPC8547E_V21 = 72 - CPU_PPC_MPC8548_V10 = 69 - CPU_PPC_MPC8548_V11 = 70 - CPU_PPC_MPC8548_V20 = 71 - CPU_PPC_MPC8548_V21 = 72 - CPU_PPC_MPC8548E_V10 = 69 - CPU_PPC_MPC8548E_V11 = 70 - CPU_PPC_MPC8548E_V20 = 71 - CPU_PPC_MPC8548E_V21 = 72 - CPU_PPC_MPC8555_V10 = 69 - CPU_PPC_MPC8555_V11 = 70 - CPU_PPC_MPC8555E_V10 = 69 - CPU_PPC_MPC8555E_V11 = 70 - CPU_PPC_MPC8560_V10 = 69 - CPU_PPC_MPC8560_V20 = 71 - CPU_PPC_MPC8560_V21 = 72 - CPU_PPC_MPC8567 = 73 - CPU_PPC_MPC8567E = 73 - CPU_PPC_MPC8568 = 73 - CPU_PPC_MPC8568E = 73 - CPU_PPC_MPC8572 = 74 - CPU_PPC_MPC8572E = 74 - CPU_PPC_MPC8610 = 78 - CPU_PPC_MPC8641 = 78 - CPU_PPC_MPC8641D = 78 + CPU_PPC_401 = 0 + CPU_PPC_401A1 = 1 + CPU_PPC_401B2 = 2 + CPU_PPC_401C2 = 3 + CPU_PPC_401D2 = 4 + CPU_PPC_401E2 = 5 + CPU_PPC_401F2 = 6 + CPU_PPC_401G2 = 7 + CPU_PPC_IOP480 = 8 + CPU_PPC_COBRA = 9 + CPU_PPC_403GA = 10 + CPU_PPC_403GB = 11 + CPU_PPC_403GC = 12 + CPU_PPC_403GCX = 13 + CPU_PPC_405D2 = 14 + CPU_PPC_405D4 = 15 + CPU_PPC_405CRA = 16 + CPU_PPC_405CRB = 17 + CPU_PPC_405CRC = 18 + CPU_PPC_405EP = 19 + CPU_PPC_405EZ = 20 + CPU_PPC_405GPA = 21 + CPU_PPC_405GPB = 22 + CPU_PPC_405GPC = 23 + CPU_PPC_405GPD = 24 + CPU_PPC_405GPR = 25 + CPU_PPC_405LP = 26 + CPU_PPC_NPE405H = 27 + CPU_PPC_NPE405H2 = 28 + CPU_PPC_NPE405L = 29 + CPU_PPC_NPE4GS3 = 30 + CPU_PPC_STB03 = 31 + CPU_PPC_STB04 = 32 + CPU_PPC_STB25 = 33 + CPU_PPC_X2VP4 = 34 + CPU_PPC_X2VP20 = 35 + CPU_PPC_440_XILINX = 36 + CPU_PPC_440_XILINX_W_DFPU = 37 + CPU_PPC_440EPA = 38 + CPU_PPC_440EPB = 39 + CPU_PPC_440EPX = 40 + CPU_PPC_460EXB = 41 + CPU_PPC_G2 = 42 + CPU_PPC_G2H4 = 43 + CPU_PPC_G2GP = 44 + CPU_PPC_G2LS = 45 + CPU_PPC_G2HIP3 = 46 + CPU_PPC_G2HIP4 = 47 + CPU_PPC_MPC603 = 48 + CPU_PPC_G2LE = 49 + CPU_PPC_G2LEGP = 50 + CPU_PPC_G2LELS = 51 + CPU_PPC_G2LEGP1 = 52 + CPU_PPC_G2LEGP3 = 53 + CPU_PPC_MPC5200_V10 = 54 + CPU_PPC_MPC5200_V11 = 55 + CPU_PPC_MPC5200_V12 = 56 + CPU_PPC_MPC5200B_V20 = 57 + CPU_PPC_MPC5200B_V21 = 58 + CPU_PPC_E200Z5 = 59 + CPU_PPC_E200Z6 = 60 + CPU_PPC_E300C1 = 61 + CPU_PPC_E300C2 = 62 + CPU_PPC_E300C3 = 63 + CPU_PPC_E300C4 = 64 + CPU_PPC_MPC8343 = 65 + CPU_PPC_MPC8343A = 66 + CPU_PPC_MPC8343E = 67 + CPU_PPC_MPC8343EA = 68 + CPU_PPC_MPC8347T = 69 + CPU_PPC_MPC8347P = 70 + CPU_PPC_MPC8347AT = 71 + CPU_PPC_MPC8347AP = 72 + CPU_PPC_MPC8347ET = 73 + CPU_PPC_MPC8347EP = 74 + CPU_PPC_MPC8347EAT = 75 + CPU_PPC_MPC8347EAP = 76 + CPU_PPC_MPC8349 = 77 + CPU_PPC_MPC8349A = 78 + CPU_PPC_MPC8349E = 79 + CPU_PPC_MPC8349EA = 80 + CPU_PPC_MPC8377 = 81 + CPU_PPC_MPC8377E = 82 + CPU_PPC_MPC8378 = 83 + CPU_PPC_MPC8378E = 84 + CPU_PPC_MPC8379 = 85 + CPU_PPC_MPC8379E = 86 + CPU_PPC_E500_V10 = 87 + CPU_PPC_E500_V20 = 88 + CPU_PPC_E500V2_V10 = 89 + CPU_PPC_E500V2_V20 = 90 + CPU_PPC_E500V2_V21 = 91 + CPU_PPC_E500V2_V22 = 92 + CPU_PPC_E500V2_V30 = 93 + CPU_PPC_E500MC = 94 + CPU_PPC_MPC8533_V10 = 95 + CPU_PPC_MPC8533_V11 = 96 + CPU_PPC_MPC8533E_V10 = 97 + CPU_PPC_MPC8533E_V11 = 98 + CPU_PPC_MPC8540_V10 = 99 + CPU_PPC_MPC8540_V20 = 100 + CPU_PPC_MPC8540_V21 = 101 + CPU_PPC_MPC8541_V10 = 102 + CPU_PPC_MPC8541_V11 = 103 + CPU_PPC_MPC8541E_V10 = 104 + CPU_PPC_MPC8541E_V11 = 105 + CPU_PPC_MPC8543_V10 = 106 + CPU_PPC_MPC8543_V11 = 107 + CPU_PPC_MPC8543_V20 = 108 + CPU_PPC_MPC8543_V21 = 109 + CPU_PPC_MPC8543E_V10 = 110 + CPU_PPC_MPC8543E_V11 = 111 + CPU_PPC_MPC8543E_V20 = 112 + CPU_PPC_MPC8543E_V21 = 113 + CPU_PPC_MPC8544_V10 = 114 + CPU_PPC_MPC8544_V11 = 115 + CPU_PPC_MPC8544E_V10 = 116 + CPU_PPC_MPC8544E_V11 = 117 + CPU_PPC_MPC8545_V20 = 118 + CPU_PPC_MPC8545_V21 = 119 + CPU_PPC_MPC8545E_V20 = 120 + CPU_PPC_MPC8545E_V21 = 121 + CPU_PPC_MPC8547E_V20 = 122 + CPU_PPC_MPC8547E_V21 = 123 + CPU_PPC_MPC8548_V10 = 124 + CPU_PPC_MPC8548_V11 = 125 + CPU_PPC_MPC8548_V20 = 126 + CPU_PPC_MPC8548_V21 = 127 + CPU_PPC_MPC8548E_V10 = 128 + CPU_PPC_MPC8548E_V11 = 129 + CPU_PPC_MPC8548E_V20 = 130 + CPU_PPC_MPC8548E_V21 = 131 + CPU_PPC_MPC8555_V10 = 132 + CPU_PPC_MPC8555_V11 = 133 + CPU_PPC_MPC8555E_V10 = 134 + CPU_PPC_MPC8555E_V11 = 135 + CPU_PPC_MPC8560_V10 = 136 + CPU_PPC_MPC8560_V20 = 137 + CPU_PPC_MPC8560_V21 = 138 + CPU_PPC_MPC8567 = 139 + CPU_PPC_MPC8567E = 140 + CPU_PPC_MPC8568 = 141 + CPU_PPC_MPC8568E = 142 + CPU_PPC_MPC8572 = 143 + CPU_PPC_MPC8572E = 144 + CPU_PPC_E600 = 145 + CPU_PPC_MPC8610 = 146 + CPU_PPC_MPC8641 = 147 + CPU_PPC_MPC8641D = 148 + CPU_PPC_601_V0 = 149 + CPU_PPC_601_V1 = 150 + CPU_PPC_601_V2 = 151 + CPU_PPC_602 = 152 + CPU_PPC_603 = 153 + CPU_PPC_603E_V1_1 = 154 + CPU_PPC_603E_V1_2 = 155 + CPU_PPC_603E_V1_3 = 156 + CPU_PPC_603E_V1_4 = 157 + CPU_PPC_603E_V2_2 = 158 + CPU_PPC_603E_V3 = 159 + CPU_PPC_603E_V4 = 160 + CPU_PPC_603E_V4_1 = 161 + CPU_PPC_603E7 = 162 + CPU_PPC_603E7T = 163 + CPU_PPC_603E7V = 164 + CPU_PPC_603E7V1 = 165 + CPU_PPC_603E7V2 = 166 + CPU_PPC_603P = 167 + CPU_PPC_604 = 168 + CPU_PPC_604E_V1_0 = 169 + CPU_PPC_604E_V2_2 = 170 + CPU_PPC_604E_V2_4 = 171 + CPU_PPC_604R = 172 + CPU_PPC_740_V1_0 = 173 + CPU_PPC_750_V1_0 = 174 + CPU_PPC_740_V2_0 = 175 + CPU_PPC_750_V2_0 = 176 + CPU_PPC_740_V2_1 = 177 + CPU_PPC_750_V2_1 = 178 + CPU_PPC_740_V2_2 = 179 + CPU_PPC_750_V2_2 = 180 + CPU_PPC_740_V3_0 = 181 + CPU_PPC_750_V3_0 = 182 + CPU_PPC_740_V3_1 = 183 + CPU_PPC_750_V3_1 = 184 + CPU_PPC_740E = 185 + CPU_PPC_750E = 186 + CPU_PPC_740P = 187 + CPU_PPC_750P = 188 + CPU_PPC_750CL_V1_0 = 189 + CPU_PPC_750CL_V2_0 = 190 + CPU_PPC_750CX_V1_0 = 191 + CPU_PPC_750CX_V2_0 = 192 + CPU_PPC_750CX_V2_1 = 193 + CPU_PPC_750CX_V2_2 = 194 + CPU_PPC_750CXE_V2_1 = 195 + CPU_PPC_750CXE_V2_2 = 196 + CPU_PPC_750CXE_V2_3 = 197 + CPU_PPC_750CXE_V2_4 = 198 + CPU_PPC_750CXE_V2_4B = 199 + CPU_PPC_750CXE_V3_0 = 200 + CPU_PPC_750CXE_V3_1 = 201 + CPU_PPC_750CXE_V3_1B = 202 + CPU_PPC_750CXR = 203 + CPU_PPC_750FL = 204 + CPU_PPC_750FX_V1_0 = 205 + CPU_PPC_750FX_V2_0 = 206 + CPU_PPC_750FX_V2_1 = 207 + CPU_PPC_750FX_V2_2 = 208 + CPU_PPC_750FX_V2_3 = 209 + CPU_PPC_750GL = 210 + CPU_PPC_750GX_V1_0 = 211 + CPU_PPC_750GX_V1_1 = 212 + CPU_PPC_750GX_V1_2 = 213 + CPU_PPC_750L_V2_0 = 214 + CPU_PPC_750L_V2_1 = 215 + CPU_PPC_750L_V2_2 = 216 + CPU_PPC_750L_V3_0 = 217 + CPU_PPC_750L_V3_2 = 218 + CPU_PPC_745_V1_0 = 219 + CPU_PPC_755_V1_0 = 220 + CPU_PPC_745_V1_1 = 221 + CPU_PPC_755_V1_1 = 222 + CPU_PPC_745_V2_0 = 223 + CPU_PPC_755_V2_0 = 224 + CPU_PPC_745_V2_1 = 225 + CPU_PPC_755_V2_1 = 226 + CPU_PPC_745_V2_2 = 227 + CPU_PPC_755_V2_2 = 228 + CPU_PPC_745_V2_3 = 229 + CPU_PPC_755_V2_3 = 230 + CPU_PPC_745_V2_4 = 231 + CPU_PPC_755_V2_4 = 232 + CPU_PPC_745_V2_5 = 233 + CPU_PPC_755_V2_5 = 234 + CPU_PPC_745_V2_6 = 235 + CPU_PPC_755_V2_6 = 236 + CPU_PPC_745_V2_7 = 237 + CPU_PPC_755_V2_7 = 238 + CPU_PPC_745_V2_8 = 239 + CPU_PPC_755_V2_8 = 240 + CPU_PPC_7400_V1_0 = 241 + CPU_PPC_7400_V1_1 = 242 + CPU_PPC_7400_V2_0 = 243 + CPU_PPC_7400_V2_1 = 244 + CPU_PPC_7400_V2_2 = 245 + CPU_PPC_7400_V2_6 = 246 + CPU_PPC_7400_V2_7 = 247 + CPU_PPC_7400_V2_8 = 248 + CPU_PPC_7400_V2_9 = 249 + CPU_PPC_7410_V1_0 = 250 + CPU_PPC_7410_V1_1 = 251 + CPU_PPC_7410_V1_2 = 252 + CPU_PPC_7410_V1_3 = 253 + CPU_PPC_7410_V1_4 = 254 + CPU_PPC_7448_V1_0 = 255 + CPU_PPC_7448_V1_1 = 256 + CPU_PPC_7448_V2_0 = 257 + CPU_PPC_7448_V2_1 = 258 + CPU_PPC_7450_V1_0 = 259 + CPU_PPC_7450_V1_1 = 260 + CPU_PPC_7450_V1_2 = 261 + CPU_PPC_7450_V2_0 = 262 + CPU_PPC_7450_V2_1 = 263 + CPU_PPC_7441_V2_1 = 264 + CPU_PPC_7441_V2_3 = 265 + CPU_PPC_7451_V2_3 = 266 + CPU_PPC_7441_V2_10 = 267 + CPU_PPC_7451_V2_10 = 268 + CPU_PPC_7445_V1_0 = 269 + CPU_PPC_7455_V1_0 = 270 + CPU_PPC_7445_V2_1 = 271 + CPU_PPC_7455_V2_1 = 272 + CPU_PPC_7445_V3_2 = 273 + CPU_PPC_7455_V3_2 = 274 + CPU_PPC_7445_V3_3 = 275 + CPU_PPC_7455_V3_3 = 276 + CPU_PPC_7445_V3_4 = 277 + CPU_PPC_7455_V3_4 = 278 + CPU_PPC_7447_V1_0 = 279 + CPU_PPC_7457_V1_0 = 280 + CPU_PPC_7447_V1_1 = 281 + CPU_PPC_7457_V1_1 = 282 + CPU_PPC_7457_V1_2 = 283 + CPU_PPC_7447A_V1_0 = 284 + CPU_PPC_7457A_V1_0 = 285 + CPU_PPC_7447A_V1_1 = 286 + CPU_PPC_7457A_V1_1 = 287 + CPU_PPC_7447A_V1_2 = 288 + CPU_PPC_7457A_V1_2 = 289 - CPU_PPC64_620 = 0 - CPU_PPC64_630 = 1 - CPU_PPC64_631 = 2 - CPU_PPC64_POWER4 = 3 - CPU_PPC64_POWER4P = 4 - CPU_PPC64_POWER5 = 5 - CPU_PPC64_POWER5P_V21 = 6 - CPU_PPC64_POWER6 = 7 - CPU_PPC64_POWER_SERVER_MASK = 8 - CPU_PPC64_POWER7_BASE = 9 - CPU_PPC64_POWER7_V23 = 10 - CPU_PPC64_POWER7P_BASE = 11 - CPU_PPC64_POWER7P_V21 = 12 - CPU_PPC64_POWER8E_BASE = 13 - CPU_PPC64_POWER8E_V21 = 14 - CPU_PPC64_POWER8_BASE = 15 - CPU_PPC64_POWER8_V20 = 16 - CPU_PPC64_POWER8NVL_BASE = 17 - CPU_PPC64_POWER8NVL_V10 = 18 - CPU_PPC64_POWER9_BASE = 19 - CPU_PPC64_POWER9_DD1 = 20 - CPU_PPC64_POWER9_DD20 = 21 - CPU_PPC64_POWER10_BASE = 22 - CPU_PPC64_POWER10_DD1 = 23 - CPU_PPC64_970_V22 = 24 - CPU_PPC64_970FX_V10 = 25 - CPU_PPC64_970FX_V20 = 26 - CPU_PPC64_970FX_V21 = 27 - CPU_PPC64_970FX_V30 = 28 - CPU_PPC64_970FX_V31 = 29 - CPU_PPC64_970MP_V10 = 30 - CPU_PPC64_970MP_V11 = 31 - CPU_PPC64_CELL_V10 = 32 - CPU_PPC64_CELL_V20 = 33 - CPU_PPC64_CELL_V30 = 34 - CPU_PPC64_CELL_V31 = 35 - CPU_PPC64_RS64 = 36 - CPU_PPC64_RS64II = 37 - CPU_PPC64_RS64III = 38 - CPU_PPC64_RS64IV = 39 - CPU_PPC64_CELL_V32 = 35 - CPU_PPC64_CELL = 35 + CPU_PPC_E5500 = 0 + CPU_PPC_E6500 = 1 + CPU_PPC_970_V2_2 = 2 + CPU_PPC_970FX_V1_0 = 3 + CPU_PPC_970FX_V2_0 = 4 + CPU_PPC_970FX_V2_1 = 5 + CPU_PPC_970FX_V3_0 = 6 + CPU_PPC_970FX_V3_1 = 7 + CPU_PPC_970MP_V1_0 = 8 + CPU_PPC_970MP_V1_1 = 9 + CPU_PPC_POWER5_V2_1 = 10 + CPU_PPC_POWER7_V2_3 = 11 + CPU_PPC_POWER7_V2_1 = 12 + CPU_PPC_POWER8E_V2_1 = 13 + CPU_PPC_POWER8_V2_0 = 14 + CPU_PPC_POWER8NVL_V1_0 = 15 + CPU_PPC_POWER9_V1_0 = 16 + CPU_PPC_POWER9_V2_0 = 17 + CPU_PPC_POWER10_V1_0 = 18 // PPC registers diff --git a/bindings/go/unicorn/unicorn_const.go b/bindings/go/unicorn/unicorn_const.go index 883453da..0da008ae 100644 --- a/bindings/go/unicorn/unicorn_const.go +++ b/bindings/go/unicorn/unicorn_const.go @@ -80,6 +80,10 @@ const ( MEM_READ_PROT = 23 MEM_FETCH_PROT = 24 MEM_READ_AFTER = 25 + + TCG_OP_SUB = 0 + TCG_OP_FLAG_CMP = 1 + TCG_OP_FLAG_DIRECT = 2 HOOK_INTR = 1 HOOK_INSN = 2 HOOK_CODE = 4 @@ -95,6 +99,8 @@ const ( HOOK_MEM_FETCH = 4096 HOOK_MEM_READ_AFTER = 8192 HOOK_INSN_INVALID = 16384 + HOOK_EDGE_GENERATED = 32768 + HOOK_TCG_OPCODE = 65536 HOOK_MEM_UNMAPPED = 112 HOOK_MEM_PROT = 896 HOOK_MEM_READ_INVALID = 144 @@ -116,10 +122,10 @@ const ( CTL_UC_PAGE_SIZE = 1 CTL_UC_ARCH = 2 CTL_UC_TIMEOUT = 3 - CTL_UC_EXITS_CNT = 4 - CTL_UC_EXITS = 5 - CTL_CPU_MODEL = 6 - CTL_TB_EDGE = 7 + CTL_UC_USE_EXITS = 4 + CTL_UC_EXITS_CNT = 5 + CTL_UC_EXITS = 6 + CTL_CPU_MODEL = 7 CTL_TB_REQUEST_CACHE = 8 CTL_TB_REMOVE_CACHE = 9 diff --git a/bindings/java/unicorn/ArmConst.java b/bindings/java/unicorn/ArmConst.java index 4f68cf51..5029c12f 100644 --- a/bindings/java/unicorn/ArmConst.java +++ b/bindings/java/unicorn/ArmConst.java @@ -18,9 +18,9 @@ public interface ArmConst { public static final int UC_CPU_ARM_CORTEX_M33 = 11; public static final int UC_CPU_ARM_CORTEX_R5 = 12; public static final int UC_CPU_ARM_CORTEX_R5F = 13; - public static final int UC_CPU_ARM_CORTEX_A8 = 14; - public static final int UC_CPU_ARM_CORTEX_A9 = 15; - public static final int UC_CPU_ARM_CORTEX_A7 = 16; + public static final int UC_CPU_ARM_CORTEX_A7 = 14; + public static final int UC_CPU_ARM_CORTEX_A8 = 15; + public static final int UC_CPU_ARM_CORTEX_A9 = 16; public static final int UC_CPU_ARM_CORTEX_A15 = 17; public static final int UC_CPU_ARM_TI925T = 18; public static final int UC_CPU_ARM_SA1100 = 19; diff --git a/bindings/java/unicorn/MipsConst.java b/bindings/java/unicorn/MipsConst.java index 43c53ac0..4371cfa4 100644 --- a/bindings/java/unicorn/MipsConst.java +++ b/bindings/java/unicorn/MipsConst.java @@ -4,35 +4,36 @@ package unicorn; public interface MipsConst { - public static final int UC_CPU_MIPS_4KC = 0; - public static final int UC_CPU_MIPS_4KM = 1; - public static final int UC_CPU_MIPS_4KECR1 = 2; - public static final int UC_CPU_MIPS_4KEMR1 = 3; - public static final int UC_CPU_MIPS_4KEC = 4; - public static final int UC_CPU_MIPS_4KEM = 5; - public static final int UC_CPU_MIPS_24KC = 6; - public static final int UC_CPU_MIPS_24KEC = 7; - public static final int UC_CPU_MIPS_24KF = 8; - public static final int UC_CPU_MIPS_34KF = 9; - public static final int UC_CPU_MIPS_74KF = 10; - public static final int UC_CPU_MIPS_M14K = 11; - public static final int UC_CPU_MIPS_M14KC = 12; - public static final int UC_CPU_MIPS_P5600 = 13; - public static final int UC_CPU_MIPS_MIPS32R6_GENERIC = 14; - public static final int UC_CPU_MIPS_I7200 = 15; - public static final int UC_CPU_MIPS_R4000 = 16; - public static final int UC_CPU_MIPS_VR5432 = 17; - public static final int UC_CPU_MIPS_5KC = 18; - public static final int UC_CPU_MIPS_5KF = 19; - public static final int UC_CPU_MIPS_20KC = 20; - public static final int UC_CPU_MIPS_MIPS64R2_GENERIC = 21; - public static final int UC_CPU_MIPS_5KEC = 22; - public static final int UC_CPU_MIPS_5KEF = 23; - public static final int UC_CPU_MIPS_I6400 = 24; - public static final int UC_CPU_MIPS_I6500 = 25; - public static final int UC_CPU_MIPS_LOONGSON_2E = 26; - public static final int UC_CPU_MIPS_LOONGSON_2F = 27; - public static final int UC_CPU_MIPS_MIPS64DSPR2 = 28; + public static final int UC_CPU_MIPS32_4KC = 0; + public static final int UC_CPU_MIPS32_4KM = 1; + public static final int UC_CPU_MIPS32_4KECR1 = 2; + public static final int UC_CPU_MIPS32_4KEMR1 = 3; + public static final int UC_CPU_MIPS32_4KEC = 4; + public static final int UC_CPU_MIPS32_4KEM = 5; + public static final int UC_CPU_MIPS32_24KC = 6; + public static final int UC_CPU_MIPS32_24KEC = 7; + public static final int UC_CPU_MIPS32_24KF = 8; + public static final int UC_CPU_MIPS32_34KF = 9; + public static final int UC_CPU_MIPS32_74KF = 10; + public static final int UC_CPU_MIPS32_M14K = 11; + public static final int UC_CPU_MIPS32_M14KC = 12; + public static final int UC_CPU_MIPS32_P5600 = 13; + public static final int UC_CPU_MIPS32_MIPS32R6_GENERIC = 14; + public static final int UC_CPU_MIPS32_I7200 = 15; + + public static final int UC_CPU_MIPS64_R4000 = 0; + public static final int UC_CPU_MIPS64_VR5432 = 1; + public static final int UC_CPU_MIPS64_5KC = 2; + public static final int UC_CPU_MIPS64_5KF = 3; + public static final int UC_CPU_MIPS64_20KC = 4; + public static final int UC_CPU_MIPS64_MIPS64R2_GENERIC = 5; + public static final int UC_CPU_MIPS64_5KEC = 6; + public static final int UC_CPU_MIPS64_5KEF = 7; + public static final int UC_CPU_MIPS64_I6400 = 8; + public static final int UC_CPU_MIPS64_I6500 = 9; + public static final int UC_CPU_MIPS64_LOONGSON_2E = 10; + public static final int UC_CPU_MIPS64_LOONGSON_2F = 11; + public static final int UC_CPU_MIPS64_MIPS64DSPR2 = 12; // MIPS registers diff --git a/bindings/java/unicorn/PpcConst.java b/bindings/java/unicorn/PpcConst.java index 09cada99..5838f03d 100644 --- a/bindings/java/unicorn/PpcConst.java +++ b/bindings/java/unicorn/PpcConst.java @@ -4,306 +4,316 @@ package unicorn; public interface PpcConst { - public static final int UC_CPU_PPC_401A1 = 0; - public static final int UC_CPU_PPC_401B2 = 1; - public static final int UC_CPU_PPC_401C2 = 2; - public static final int UC_CPU_PPC_401D2 = 3; - public static final int UC_CPU_PPC_401E2 = 4; - public static final int UC_CPU_PPC_401F2 = 5; - public static final int UC_CPU_PPC_401G2 = 6; - public static final int UC_CPU_PPC_COBRA = 7; - public static final int UC_CPU_PPC_403GA = 8; - public static final int UC_CPU_PPC_403GB = 9; - public static final int UC_CPU_PPC_403GC = 10; - public static final int UC_CPU_PPC_403GCX = 11; - public static final int UC_CPU_PPC_405D2 = 12; - public static final int UC_CPU_PPC_405D4 = 13; - public static final int UC_CPU_PPC_405CRA = 14; - public static final int UC_CPU_PPC_405CRB = 15; - public static final int UC_CPU_PPC_405CRC = 16; - public static final int UC_CPU_PPC_405EP = 17; - public static final int UC_CPU_PPC_405EZ = 18; - public static final int UC_CPU_PPC_405GPA = 19; - public static final int UC_CPU_PPC_405GPB = 20; - public static final int UC_CPU_PPC_405GPC = 21; - public static final int UC_CPU_PPC_405GPD = 22; - public static final int UC_CPU_PPC_405GPR = 23; - public static final int UC_CPU_PPC_405LP = 24; - public static final int UC_CPU_PPC_NPE405H = 25; - public static final int UC_CPU_PPC_NPE405H2 = 26; - public static final int UC_CPU_PPC_NPE405L = 27; - public static final int UC_CPU_PPC_NPE4GS3 = 28; - public static final int UC_CPU_PPC_STB03 = 29; - public static final int UC_CPU_PPC_STB04 = 30; - public static final int UC_CPU_PPC_STB25 = 31; - public static final int UC_CPU_PPC_X2VP4 = 32; - public static final int UC_CPU_PPC_440_XILINX = 33; - public static final int UC_CPU_PPC_440EPA = 34; - public static final int UC_CPU_PPC_440EPB = 35; - public static final int UC_CPU_PPC_440GPB = 36; - public static final int UC_CPU_PPC_440GPC = 37; - public static final int UC_CPU_PPC_440GRX = 38; - public static final int UC_CPU_PPC_440GXA = 39; - public static final int UC_CPU_PPC_440GXB = 40; - public static final int UC_CPU_PPC_440GXC = 41; - public static final int UC_CPU_PPC_440GXF = 42; - public static final int UC_CPU_PPC_440SP = 43; - public static final int UC_CPU_PPC_440SP2 = 44; - public static final int UC_CPU_PPC_440SPE = 45; - public static final int UC_CPU_PPC_460EXB = 46; - public static final int UC_CPU_PPC_MPC5XX = 47; - public static final int UC_CPU_PPC_MPC8XX = 48; - public static final int UC_CPU_PPC_G2 = 49; - public static final int UC_CPU_PPC_G2H4 = 50; - public static final int UC_CPU_PPC_G2GP = 51; - public static final int UC_CPU_PPC_G2LS = 52; - public static final int UC_CPU_PPC_MPC603 = 53; - public static final int UC_CPU_PPC_G2_HIP3 = 54; - public static final int UC_CPU_PPC_G2_HIP4 = 55; - public static final int UC_CPU_PPC_G2LE = 56; - public static final int UC_CPU_PPC_G2LEGP = 57; - public static final int UC_CPU_PPC_G2LELS = 58; - public static final int UC_CPU_PPC_G2LEGP1 = 59; - public static final int UC_CPU_PPC_G2LEGP3 = 60; - public static final int UC_CPU_PPC_E200Z5 = 61; - public static final int UC_CPU_PPC_E200Z6 = 62; - public static final int UC_CPU_PPC_E300C1 = 63; - public static final int UC_CPU_PPC_E300C2 = 64; - public static final int UC_CPU_PPC_E300C3 = 65; - public static final int UC_CPU_PPC_E300C4 = 66; - public static final int UC_CPU_PPC_E500V1_V10 = 67; - public static final int UC_CPU_PPC_E500V1_V20 = 68; - public static final int UC_CPU_PPC_E500V2_V10 = 69; - public static final int UC_CPU_PPC_E500V2_V11 = 70; - public static final int UC_CPU_PPC_E500V2_V20 = 71; - public static final int UC_CPU_PPC_E500V2_V21 = 72; - public static final int UC_CPU_PPC_E500V2_V22 = 73; - public static final int UC_CPU_PPC_E500V2_V30 = 74; - public static final int UC_CPU_PPC_E500MC = 75; - public static final int UC_CPU_PPC_E5500 = 76; - public static final int UC_CPU_PPC_E6500 = 77; - public static final int UC_CPU_PPC_E600 = 78; - public static final int UC_CPU_PPC_601_V0 = 79; - public static final int UC_CPU_PPC_601_V1 = 80; - public static final int UC_CPU_PPC_601_V2 = 81; - public static final int UC_CPU_PPC_602 = 82; - public static final int UC_CPU_PPC_603 = 83; - public static final int UC_CPU_PPC_603E_V11 = 84; - public static final int UC_CPU_PPC_603E_V12 = 85; - public static final int UC_CPU_PPC_603E_V13 = 86; - public static final int UC_CPU_PPC_603E_V14 = 87; - public static final int UC_CPU_PPC_603E_V22 = 88; - public static final int UC_CPU_PPC_603E_V3 = 89; - public static final int UC_CPU_PPC_603E_V4 = 90; - public static final int UC_CPU_PPC_603E_V41 = 91; - public static final int UC_CPU_PPC_603E7T = 92; - public static final int UC_CPU_PPC_603E7V = 93; - public static final int UC_CPU_PPC_603E7V1 = 94; - public static final int UC_CPU_PPC_603E7V2 = 95; - public static final int UC_CPU_PPC_603E7 = 96; - public static final int UC_CPU_PPC_603P = 97; - public static final int UC_CPU_PPC_604 = 98; - public static final int UC_CPU_PPC_604E_V10 = 99; - public static final int UC_CPU_PPC_604E_V22 = 100; - public static final int UC_CPU_PPC_604E_V24 = 101; - public static final int UC_CPU_PPC_604R = 102; - public static final int UC_CPU_PPC_7X0_V10 = 103; - public static final int UC_CPU_PPC_7X0_V20 = 104; - public static final int UC_CPU_PPC_7X0_V21 = 105; - public static final int UC_CPU_PPC_7X0_V22 = 106; - public static final int UC_CPU_PPC_7X0_V30 = 107; - public static final int UC_CPU_PPC_7X0_V31 = 108; - public static final int UC_CPU_PPC_740E = 109; - public static final int UC_CPU_PPC_750E = 110; - public static final int UC_CPU_PPC_7X0P = 111; - public static final int UC_CPU_PPC_750CL_V10 = 112; - public static final int UC_CPU_PPC_750CL_V20 = 113; - public static final int UC_CPU_PPC_750CX_V10 = 114; - public static final int UC_CPU_PPC_750CX_V20 = 115; - public static final int UC_CPU_PPC_750CX_V21 = 116; - public static final int UC_CPU_PPC_750CX_V22 = 117; - public static final int UC_CPU_PPC_750CXE_V21 = 118; - public static final int UC_CPU_PPC_750CXE_V22 = 119; - public static final int UC_CPU_PPC_750CXE_V23 = 120; - public static final int UC_CPU_PPC_750CXE_V24 = 121; - public static final int UC_CPU_PPC_750CXE_V24B = 122; - public static final int UC_CPU_PPC_750CXE_V30 = 123; - public static final int UC_CPU_PPC_750CXE_V31 = 124; - public static final int UC_CPU_PPC_750CXE_V31B = 125; - public static final int UC_CPU_PPC_750CXR = 126; - public static final int UC_CPU_PPC_750FL = 127; - public static final int UC_CPU_PPC_750FX_V10 = 128; - public static final int UC_CPU_PPC_750FX_V20 = 129; - public static final int UC_CPU_PPC_750FX_V21 = 130; - public static final int UC_CPU_PPC_750FX_V22 = 131; - public static final int UC_CPU_PPC_750FX_V23 = 132; - public static final int UC_CPU_PPC_750GL = 133; - public static final int UC_CPU_PPC_750GX_V10 = 134; - public static final int UC_CPU_PPC_750GX_V11 = 135; - public static final int UC_CPU_PPC_750GX_V12 = 136; - public static final int UC_CPU_PPC_750L_V20 = 137; - public static final int UC_CPU_PPC_750L_V21 = 138; - public static final int UC_CPU_PPC_750L_V22 = 139; - public static final int UC_CPU_PPC_750L_V30 = 140; - public static final int UC_CPU_PPC_750L_V32 = 141; - public static final int UC_CPU_PPC_7X5_V10 = 142; - public static final int UC_CPU_PPC_7X5_V11 = 143; - public static final int UC_CPU_PPC_7X5_V20 = 144; - public static final int UC_CPU_PPC_7X5_V21 = 145; - public static final int UC_CPU_PPC_7X5_V22 = 146; - public static final int UC_CPU_PPC_7X5_V23 = 147; - public static final int UC_CPU_PPC_7X5_V24 = 148; - public static final int UC_CPU_PPC_7X5_V25 = 149; - public static final int UC_CPU_PPC_7X5_V26 = 150; - public static final int UC_CPU_PPC_7X5_V27 = 151; - public static final int UC_CPU_PPC_7X5_V28 = 152; - public static final int UC_CPU_PPC_7400_V10 = 153; - public static final int UC_CPU_PPC_7400_V11 = 154; - public static final int UC_CPU_PPC_7400_V20 = 155; - public static final int UC_CPU_PPC_7400_V21 = 156; - public static final int UC_CPU_PPC_7400_V22 = 157; - public static final int UC_CPU_PPC_7400_V26 = 158; - public static final int UC_CPU_PPC_7400_V27 = 159; - public static final int UC_CPU_PPC_7400_V28 = 160; - public static final int UC_CPU_PPC_7400_V29 = 161; - public static final int UC_CPU_PPC_7410_V10 = 162; - public static final int UC_CPU_PPC_7410_V11 = 163; - public static final int UC_CPU_PPC_7410_V12 = 164; - public static final int UC_CPU_PPC_7410_V13 = 165; - public static final int UC_CPU_PPC_7410_V14 = 166; - public static final int UC_CPU_PPC_7448_V10 = 167; - public static final int UC_CPU_PPC_7448_V11 = 168; - public static final int UC_CPU_PPC_7448_V20 = 169; - public static final int UC_CPU_PPC_7448_V21 = 170; - public static final int UC_CPU_PPC_7450_V10 = 171; - public static final int UC_CPU_PPC_7450_V11 = 172; - public static final int UC_CPU_PPC_7450_V12 = 173; - public static final int UC_CPU_PPC_7450_V20 = 174; - public static final int UC_CPU_PPC_7450_V21 = 175; - public static final int UC_CPU_PPC_74X1_V23 = 176; - public static final int UC_CPU_PPC_74X1_V210 = 177; - public static final int UC_CPU_PPC_74X5_V10 = 178; - public static final int UC_CPU_PPC_74X5_V21 = 179; - public static final int UC_CPU_PPC_74X5_V32 = 180; - public static final int UC_CPU_PPC_74X5_V33 = 181; - public static final int UC_CPU_PPC_74X5_V34 = 182; - public static final int UC_CPU_PPC_74X7_V10 = 183; - public static final int UC_CPU_PPC_74X7_V11 = 184; - public static final int UC_CPU_PPC_74X7_V12 = 185; - public static final int UC_CPU_PPC_74X7A_V10 = 186; - public static final int UC_CPU_PPC_74X7A_V11 = 187; - public static final int UC_CPU_PPC_74X7A_V12 = 188; - public static final int UC_CPU_PPC_IOP480 = 1; - public static final int UC_CPU_PPC_X2VP20 = 42; - public static final int UC_CPU_PPC_440GRA = 35; - public static final int UC_CPU_PPC_440EPX = 38; - public static final int UC_CPU_PPC_MPC5200_V10 = 59; - public static final int UC_CPU_PPC_MPC5200_V11 = 59; - public static final int UC_CPU_PPC_MPC5200_V12 = 59; - public static final int UC_CPU_PPC_MPC5200B_V20 = 59; - public static final int UC_CPU_PPC_MPC5200B_V21 = 59; - public static final int UC_CPU_PPC_MPC834X = 63; - public static final int UC_CPU_PPC_MPC837X = 66; - public static final int UC_CPU_PPC_E500 = 73; - public static final int UC_CPU_PPC_MPC8533_V10 = 72; - public static final int UC_CPU_PPC_MPC8533_V11 = 73; - public static final int UC_CPU_PPC_MPC8533E_V10 = 72; - public static final int UC_CPU_PPC_MPC8533E_V11 = 73; - public static final int UC_CPU_PPC_MPC8540_V10 = 67; - public static final int UC_CPU_PPC_MPC8540_V20 = 68; - public static final int UC_CPU_PPC_MPC8540_V21 = 68; - public static final int UC_CPU_PPC_MPC8541_V10 = 68; - public static final int UC_CPU_PPC_MPC8541_V11 = 68; - public static final int UC_CPU_PPC_MPC8541E_V10 = 68; - public static final int UC_CPU_PPC_MPC8541E_V11 = 68; - public static final int UC_CPU_PPC_MPC8543_V10 = 69; - public static final int UC_CPU_PPC_MPC8543_V11 = 70; - public static final int UC_CPU_PPC_MPC8543_V20 = 71; - public static final int UC_CPU_PPC_MPC8543_V21 = 72; - public static final int UC_CPU_PPC_MPC8543E_V10 = 69; - public static final int UC_CPU_PPC_MPC8543E_V11 = 70; - public static final int UC_CPU_PPC_MPC8543E_V20 = 71; - public static final int UC_CPU_PPC_MPC8543E_V21 = 72; - public static final int UC_CPU_PPC_MPC8544_V10 = 72; - public static final int UC_CPU_PPC_MPC8544_V11 = 73; - public static final int UC_CPU_PPC_MPC8544E_V11 = 73; - public static final int UC_CPU_PPC_MPC8544E_V10 = 72; - public static final int UC_CPU_PPC_MPC8545_V10 = 69; - public static final int UC_CPU_PPC_MPC8545_V20 = 71; - public static final int UC_CPU_PPC_MPC8545_V21 = 72; - public static final int UC_CPU_PPC_MPC8545E_V10 = 69; - public static final int UC_CPU_PPC_MPC8545E_V20 = 71; - public static final int UC_CPU_PPC_MPC8545E_V21 = 72; - public static final int UC_CPU_PPC_MPC8547E_V10 = 69; - public static final int UC_CPU_PPC_MPC8547E_V20 = 71; - public static final int UC_CPU_PPC_MPC8547E_V21 = 72; - public static final int UC_CPU_PPC_MPC8548_V10 = 69; - public static final int UC_CPU_PPC_MPC8548_V11 = 70; - public static final int UC_CPU_PPC_MPC8548_V20 = 71; - public static final int UC_CPU_PPC_MPC8548_V21 = 72; - public static final int UC_CPU_PPC_MPC8548E_V10 = 69; - public static final int UC_CPU_PPC_MPC8548E_V11 = 70; - public static final int UC_CPU_PPC_MPC8548E_V20 = 71; - public static final int UC_CPU_PPC_MPC8548E_V21 = 72; - public static final int UC_CPU_PPC_MPC8555_V10 = 69; - public static final int UC_CPU_PPC_MPC8555_V11 = 70; - public static final int UC_CPU_PPC_MPC8555E_V10 = 69; - public static final int UC_CPU_PPC_MPC8555E_V11 = 70; - public static final int UC_CPU_PPC_MPC8560_V10 = 69; - public static final int UC_CPU_PPC_MPC8560_V20 = 71; - public static final int UC_CPU_PPC_MPC8560_V21 = 72; - public static final int UC_CPU_PPC_MPC8567 = 73; - public static final int UC_CPU_PPC_MPC8567E = 73; - public static final int UC_CPU_PPC_MPC8568 = 73; - public static final int UC_CPU_PPC_MPC8568E = 73; - public static final int UC_CPU_PPC_MPC8572 = 74; - public static final int UC_CPU_PPC_MPC8572E = 74; - public static final int UC_CPU_PPC_MPC8610 = 78; - public static final int UC_CPU_PPC_MPC8641 = 78; - public static final int UC_CPU_PPC_MPC8641D = 78; + public static final int UC_CPU_PPC_401 = 0; + public static final int UC_CPU_PPC_401A1 = 1; + public static final int UC_CPU_PPC_401B2 = 2; + public static final int UC_CPU_PPC_401C2 = 3; + public static final int UC_CPU_PPC_401D2 = 4; + public static final int UC_CPU_PPC_401E2 = 5; + public static final int UC_CPU_PPC_401F2 = 6; + public static final int UC_CPU_PPC_401G2 = 7; + public static final int UC_CPU_PPC_IOP480 = 8; + public static final int UC_CPU_PPC_COBRA = 9; + public static final int UC_CPU_PPC_403GA = 10; + public static final int UC_CPU_PPC_403GB = 11; + public static final int UC_CPU_PPC_403GC = 12; + public static final int UC_CPU_PPC_403GCX = 13; + public static final int UC_CPU_PPC_405D2 = 14; + public static final int UC_CPU_PPC_405D4 = 15; + public static final int UC_CPU_PPC_405CRA = 16; + public static final int UC_CPU_PPC_405CRB = 17; + public static final int UC_CPU_PPC_405CRC = 18; + public static final int UC_CPU_PPC_405EP = 19; + public static final int UC_CPU_PPC_405EZ = 20; + public static final int UC_CPU_PPC_405GPA = 21; + public static final int UC_CPU_PPC_405GPB = 22; + public static final int UC_CPU_PPC_405GPC = 23; + public static final int UC_CPU_PPC_405GPD = 24; + public static final int UC_CPU_PPC_405GPR = 25; + public static final int UC_CPU_PPC_405LP = 26; + public static final int UC_CPU_PPC_NPE405H = 27; + public static final int UC_CPU_PPC_NPE405H2 = 28; + public static final int UC_CPU_PPC_NPE405L = 29; + public static final int UC_CPU_PPC_NPE4GS3 = 30; + public static final int UC_CPU_PPC_STB03 = 31; + public static final int UC_CPU_PPC_STB04 = 32; + public static final int UC_CPU_PPC_STB25 = 33; + public static final int UC_CPU_PPC_X2VP4 = 34; + public static final int UC_CPU_PPC_X2VP20 = 35; + public static final int UC_CPU_PPC_440_XILINX = 36; + public static final int UC_CPU_PPC_440_XILINX_W_DFPU = 37; + public static final int UC_CPU_PPC_440EPA = 38; + public static final int UC_CPU_PPC_440EPB = 39; + public static final int UC_CPU_PPC_440EPX = 40; + public static final int UC_CPU_PPC_460EXB = 41; + public static final int UC_CPU_PPC_G2 = 42; + public static final int UC_CPU_PPC_G2H4 = 43; + public static final int UC_CPU_PPC_G2GP = 44; + public static final int UC_CPU_PPC_G2LS = 45; + public static final int UC_CPU_PPC_G2HIP3 = 46; + public static final int UC_CPU_PPC_G2HIP4 = 47; + public static final int UC_CPU_PPC_MPC603 = 48; + public static final int UC_CPU_PPC_G2LE = 49; + public static final int UC_CPU_PPC_G2LEGP = 50; + public static final int UC_CPU_PPC_G2LELS = 51; + public static final int UC_CPU_PPC_G2LEGP1 = 52; + public static final int UC_CPU_PPC_G2LEGP3 = 53; + public static final int UC_CPU_PPC_MPC5200_V10 = 54; + public static final int UC_CPU_PPC_MPC5200_V11 = 55; + public static final int UC_CPU_PPC_MPC5200_V12 = 56; + public static final int UC_CPU_PPC_MPC5200B_V20 = 57; + public static final int UC_CPU_PPC_MPC5200B_V21 = 58; + public static final int UC_CPU_PPC_E200Z5 = 59; + public static final int UC_CPU_PPC_E200Z6 = 60; + public static final int UC_CPU_PPC_E300C1 = 61; + public static final int UC_CPU_PPC_E300C2 = 62; + public static final int UC_CPU_PPC_E300C3 = 63; + public static final int UC_CPU_PPC_E300C4 = 64; + public static final int UC_CPU_PPC_MPC8343 = 65; + public static final int UC_CPU_PPC_MPC8343A = 66; + public static final int UC_CPU_PPC_MPC8343E = 67; + public static final int UC_CPU_PPC_MPC8343EA = 68; + public static final int UC_CPU_PPC_MPC8347T = 69; + public static final int UC_CPU_PPC_MPC8347P = 70; + public static final int UC_CPU_PPC_MPC8347AT = 71; + public static final int UC_CPU_PPC_MPC8347AP = 72; + public static final int UC_CPU_PPC_MPC8347ET = 73; + public static final int UC_CPU_PPC_MPC8347EP = 74; + public static final int UC_CPU_PPC_MPC8347EAT = 75; + public static final int UC_CPU_PPC_MPC8347EAP = 76; + public static final int UC_CPU_PPC_MPC8349 = 77; + public static final int UC_CPU_PPC_MPC8349A = 78; + public static final int UC_CPU_PPC_MPC8349E = 79; + public static final int UC_CPU_PPC_MPC8349EA = 80; + public static final int UC_CPU_PPC_MPC8377 = 81; + public static final int UC_CPU_PPC_MPC8377E = 82; + public static final int UC_CPU_PPC_MPC8378 = 83; + public static final int UC_CPU_PPC_MPC8378E = 84; + public static final int UC_CPU_PPC_MPC8379 = 85; + public static final int UC_CPU_PPC_MPC8379E = 86; + public static final int UC_CPU_PPC_E500_V10 = 87; + public static final int UC_CPU_PPC_E500_V20 = 88; + public static final int UC_CPU_PPC_E500V2_V10 = 89; + public static final int UC_CPU_PPC_E500V2_V20 = 90; + public static final int UC_CPU_PPC_E500V2_V21 = 91; + public static final int UC_CPU_PPC_E500V2_V22 = 92; + public static final int UC_CPU_PPC_E500V2_V30 = 93; + public static final int UC_CPU_PPC_E500MC = 94; + public static final int UC_CPU_PPC_MPC8533_V10 = 95; + public static final int UC_CPU_PPC_MPC8533_V11 = 96; + public static final int UC_CPU_PPC_MPC8533E_V10 = 97; + public static final int UC_CPU_PPC_MPC8533E_V11 = 98; + public static final int UC_CPU_PPC_MPC8540_V10 = 99; + public static final int UC_CPU_PPC_MPC8540_V20 = 100; + public static final int UC_CPU_PPC_MPC8540_V21 = 101; + public static final int UC_CPU_PPC_MPC8541_V10 = 102; + public static final int UC_CPU_PPC_MPC8541_V11 = 103; + public static final int UC_CPU_PPC_MPC8541E_V10 = 104; + public static final int UC_CPU_PPC_MPC8541E_V11 = 105; + public static final int UC_CPU_PPC_MPC8543_V10 = 106; + public static final int UC_CPU_PPC_MPC8543_V11 = 107; + public static final int UC_CPU_PPC_MPC8543_V20 = 108; + public static final int UC_CPU_PPC_MPC8543_V21 = 109; + public static final int UC_CPU_PPC_MPC8543E_V10 = 110; + public static final int UC_CPU_PPC_MPC8543E_V11 = 111; + public static final int UC_CPU_PPC_MPC8543E_V20 = 112; + public static final int UC_CPU_PPC_MPC8543E_V21 = 113; + public static final int UC_CPU_PPC_MPC8544_V10 = 114; + public static final int UC_CPU_PPC_MPC8544_V11 = 115; + public static final int UC_CPU_PPC_MPC8544E_V10 = 116; + public static final int UC_CPU_PPC_MPC8544E_V11 = 117; + public static final int UC_CPU_PPC_MPC8545_V20 = 118; + public static final int UC_CPU_PPC_MPC8545_V21 = 119; + public static final int UC_CPU_PPC_MPC8545E_V20 = 120; + public static final int UC_CPU_PPC_MPC8545E_V21 = 121; + public static final int UC_CPU_PPC_MPC8547E_V20 = 122; + public static final int UC_CPU_PPC_MPC8547E_V21 = 123; + public static final int UC_CPU_PPC_MPC8548_V10 = 124; + public static final int UC_CPU_PPC_MPC8548_V11 = 125; + public static final int UC_CPU_PPC_MPC8548_V20 = 126; + public static final int UC_CPU_PPC_MPC8548_V21 = 127; + public static final int UC_CPU_PPC_MPC8548E_V10 = 128; + public static final int UC_CPU_PPC_MPC8548E_V11 = 129; + public static final int UC_CPU_PPC_MPC8548E_V20 = 130; + public static final int UC_CPU_PPC_MPC8548E_V21 = 131; + public static final int UC_CPU_PPC_MPC8555_V10 = 132; + public static final int UC_CPU_PPC_MPC8555_V11 = 133; + public static final int UC_CPU_PPC_MPC8555E_V10 = 134; + public static final int UC_CPU_PPC_MPC8555E_V11 = 135; + public static final int UC_CPU_PPC_MPC8560_V10 = 136; + public static final int UC_CPU_PPC_MPC8560_V20 = 137; + public static final int UC_CPU_PPC_MPC8560_V21 = 138; + public static final int UC_CPU_PPC_MPC8567 = 139; + public static final int UC_CPU_PPC_MPC8567E = 140; + public static final int UC_CPU_PPC_MPC8568 = 141; + public static final int UC_CPU_PPC_MPC8568E = 142; + public static final int UC_CPU_PPC_MPC8572 = 143; + public static final int UC_CPU_PPC_MPC8572E = 144; + public static final int UC_CPU_PPC_E600 = 145; + public static final int UC_CPU_PPC_MPC8610 = 146; + public static final int UC_CPU_PPC_MPC8641 = 147; + public static final int UC_CPU_PPC_MPC8641D = 148; + public static final int UC_CPU_PPC_601_V0 = 149; + public static final int UC_CPU_PPC_601_V1 = 150; + public static final int UC_CPU_PPC_601_V2 = 151; + public static final int UC_CPU_PPC_602 = 152; + public static final int UC_CPU_PPC_603 = 153; + public static final int UC_CPU_PPC_603E_V1_1 = 154; + public static final int UC_CPU_PPC_603E_V1_2 = 155; + public static final int UC_CPU_PPC_603E_V1_3 = 156; + public static final int UC_CPU_PPC_603E_V1_4 = 157; + public static final int UC_CPU_PPC_603E_V2_2 = 158; + public static final int UC_CPU_PPC_603E_V3 = 159; + public static final int UC_CPU_PPC_603E_V4 = 160; + public static final int UC_CPU_PPC_603E_V4_1 = 161; + public static final int UC_CPU_PPC_603E7 = 162; + public static final int UC_CPU_PPC_603E7T = 163; + public static final int UC_CPU_PPC_603E7V = 164; + public static final int UC_CPU_PPC_603E7V1 = 165; + public static final int UC_CPU_PPC_603E7V2 = 166; + public static final int UC_CPU_PPC_603P = 167; + public static final int UC_CPU_PPC_604 = 168; + public static final int UC_CPU_PPC_604E_V1_0 = 169; + public static final int UC_CPU_PPC_604E_V2_2 = 170; + public static final int UC_CPU_PPC_604E_V2_4 = 171; + public static final int UC_CPU_PPC_604R = 172; + public static final int UC_CPU_PPC_740_V1_0 = 173; + public static final int UC_CPU_PPC_750_V1_0 = 174; + public static final int UC_CPU_PPC_740_V2_0 = 175; + public static final int UC_CPU_PPC_750_V2_0 = 176; + public static final int UC_CPU_PPC_740_V2_1 = 177; + public static final int UC_CPU_PPC_750_V2_1 = 178; + public static final int UC_CPU_PPC_740_V2_2 = 179; + public static final int UC_CPU_PPC_750_V2_2 = 180; + public static final int UC_CPU_PPC_740_V3_0 = 181; + public static final int UC_CPU_PPC_750_V3_0 = 182; + public static final int UC_CPU_PPC_740_V3_1 = 183; + public static final int UC_CPU_PPC_750_V3_1 = 184; + public static final int UC_CPU_PPC_740E = 185; + public static final int UC_CPU_PPC_750E = 186; + public static final int UC_CPU_PPC_740P = 187; + public static final int UC_CPU_PPC_750P = 188; + public static final int UC_CPU_PPC_750CL_V1_0 = 189; + public static final int UC_CPU_PPC_750CL_V2_0 = 190; + public static final int UC_CPU_PPC_750CX_V1_0 = 191; + public static final int UC_CPU_PPC_750CX_V2_0 = 192; + public static final int UC_CPU_PPC_750CX_V2_1 = 193; + public static final int UC_CPU_PPC_750CX_V2_2 = 194; + public static final int UC_CPU_PPC_750CXE_V2_1 = 195; + public static final int UC_CPU_PPC_750CXE_V2_2 = 196; + public static final int UC_CPU_PPC_750CXE_V2_3 = 197; + public static final int UC_CPU_PPC_750CXE_V2_4 = 198; + public static final int UC_CPU_PPC_750CXE_V2_4B = 199; + public static final int UC_CPU_PPC_750CXE_V3_0 = 200; + public static final int UC_CPU_PPC_750CXE_V3_1 = 201; + public static final int UC_CPU_PPC_750CXE_V3_1B = 202; + public static final int UC_CPU_PPC_750CXR = 203; + public static final int UC_CPU_PPC_750FL = 204; + public static final int UC_CPU_PPC_750FX_V1_0 = 205; + public static final int UC_CPU_PPC_750FX_V2_0 = 206; + public static final int UC_CPU_PPC_750FX_V2_1 = 207; + public static final int UC_CPU_PPC_750FX_V2_2 = 208; + public static final int UC_CPU_PPC_750FX_V2_3 = 209; + public static final int UC_CPU_PPC_750GL = 210; + public static final int UC_CPU_PPC_750GX_V1_0 = 211; + public static final int UC_CPU_PPC_750GX_V1_1 = 212; + public static final int UC_CPU_PPC_750GX_V1_2 = 213; + public static final int UC_CPU_PPC_750L_V2_0 = 214; + public static final int UC_CPU_PPC_750L_V2_1 = 215; + public static final int UC_CPU_PPC_750L_V2_2 = 216; + public static final int UC_CPU_PPC_750L_V3_0 = 217; + public static final int UC_CPU_PPC_750L_V3_2 = 218; + public static final int UC_CPU_PPC_745_V1_0 = 219; + public static final int UC_CPU_PPC_755_V1_0 = 220; + public static final int UC_CPU_PPC_745_V1_1 = 221; + public static final int UC_CPU_PPC_755_V1_1 = 222; + public static final int UC_CPU_PPC_745_V2_0 = 223; + public static final int UC_CPU_PPC_755_V2_0 = 224; + public static final int UC_CPU_PPC_745_V2_1 = 225; + public static final int UC_CPU_PPC_755_V2_1 = 226; + public static final int UC_CPU_PPC_745_V2_2 = 227; + public static final int UC_CPU_PPC_755_V2_2 = 228; + public static final int UC_CPU_PPC_745_V2_3 = 229; + public static final int UC_CPU_PPC_755_V2_3 = 230; + public static final int UC_CPU_PPC_745_V2_4 = 231; + public static final int UC_CPU_PPC_755_V2_4 = 232; + public static final int UC_CPU_PPC_745_V2_5 = 233; + public static final int UC_CPU_PPC_755_V2_5 = 234; + public static final int UC_CPU_PPC_745_V2_6 = 235; + public static final int UC_CPU_PPC_755_V2_6 = 236; + public static final int UC_CPU_PPC_745_V2_7 = 237; + public static final int UC_CPU_PPC_755_V2_7 = 238; + public static final int UC_CPU_PPC_745_V2_8 = 239; + public static final int UC_CPU_PPC_755_V2_8 = 240; + public static final int UC_CPU_PPC_7400_V1_0 = 241; + public static final int UC_CPU_PPC_7400_V1_1 = 242; + public static final int UC_CPU_PPC_7400_V2_0 = 243; + public static final int UC_CPU_PPC_7400_V2_1 = 244; + public static final int UC_CPU_PPC_7400_V2_2 = 245; + public static final int UC_CPU_PPC_7400_V2_6 = 246; + public static final int UC_CPU_PPC_7400_V2_7 = 247; + public static final int UC_CPU_PPC_7400_V2_8 = 248; + public static final int UC_CPU_PPC_7400_V2_9 = 249; + public static final int UC_CPU_PPC_7410_V1_0 = 250; + public static final int UC_CPU_PPC_7410_V1_1 = 251; + public static final int UC_CPU_PPC_7410_V1_2 = 252; + public static final int UC_CPU_PPC_7410_V1_3 = 253; + public static final int UC_CPU_PPC_7410_V1_4 = 254; + public static final int UC_CPU_PPC_7448_V1_0 = 255; + public static final int UC_CPU_PPC_7448_V1_1 = 256; + public static final int UC_CPU_PPC_7448_V2_0 = 257; + public static final int UC_CPU_PPC_7448_V2_1 = 258; + public static final int UC_CPU_PPC_7450_V1_0 = 259; + public static final int UC_CPU_PPC_7450_V1_1 = 260; + public static final int UC_CPU_PPC_7450_V1_2 = 261; + public static final int UC_CPU_PPC_7450_V2_0 = 262; + public static final int UC_CPU_PPC_7450_V2_1 = 263; + public static final int UC_CPU_PPC_7441_V2_1 = 264; + public static final int UC_CPU_PPC_7441_V2_3 = 265; + public static final int UC_CPU_PPC_7451_V2_3 = 266; + public static final int UC_CPU_PPC_7441_V2_10 = 267; + public static final int UC_CPU_PPC_7451_V2_10 = 268; + public static final int UC_CPU_PPC_7445_V1_0 = 269; + public static final int UC_CPU_PPC_7455_V1_0 = 270; + public static final int UC_CPU_PPC_7445_V2_1 = 271; + public static final int UC_CPU_PPC_7455_V2_1 = 272; + public static final int UC_CPU_PPC_7445_V3_2 = 273; + public static final int UC_CPU_PPC_7455_V3_2 = 274; + public static final int UC_CPU_PPC_7445_V3_3 = 275; + public static final int UC_CPU_PPC_7455_V3_3 = 276; + public static final int UC_CPU_PPC_7445_V3_4 = 277; + public static final int UC_CPU_PPC_7455_V3_4 = 278; + public static final int UC_CPU_PPC_7447_V1_0 = 279; + public static final int UC_CPU_PPC_7457_V1_0 = 280; + public static final int UC_CPU_PPC_7447_V1_1 = 281; + public static final int UC_CPU_PPC_7457_V1_1 = 282; + public static final int UC_CPU_PPC_7457_V1_2 = 283; + public static final int UC_CPU_PPC_7447A_V1_0 = 284; + public static final int UC_CPU_PPC_7457A_V1_0 = 285; + public static final int UC_CPU_PPC_7447A_V1_1 = 286; + public static final int UC_CPU_PPC_7457A_V1_1 = 287; + public static final int UC_CPU_PPC_7447A_V1_2 = 288; + public static final int UC_CPU_PPC_7457A_V1_2 = 289; - public static final int UC_CPU_PPC64_620 = 0; - public static final int UC_CPU_PPC64_630 = 1; - public static final int UC_CPU_PPC64_631 = 2; - public static final int UC_CPU_PPC64_POWER4 = 3; - public static final int UC_CPU_PPC64_POWER4P = 4; - public static final int UC_CPU_PPC64_POWER5 = 5; - public static final int UC_CPU_PPC64_POWER5P_V21 = 6; - public static final int UC_CPU_PPC64_POWER6 = 7; - public static final int UC_CPU_PPC64_POWER_SERVER_MASK = 8; - public static final int UC_CPU_PPC64_POWER7_BASE = 9; - public static final int UC_CPU_PPC64_POWER7_V23 = 10; - public static final int UC_CPU_PPC64_POWER7P_BASE = 11; - public static final int UC_CPU_PPC64_POWER7P_V21 = 12; - public static final int UC_CPU_PPC64_POWER8E_BASE = 13; - public static final int UC_CPU_PPC64_POWER8E_V21 = 14; - public static final int UC_CPU_PPC64_POWER8_BASE = 15; - public static final int UC_CPU_PPC64_POWER8_V20 = 16; - public static final int UC_CPU_PPC64_POWER8NVL_BASE = 17; - public static final int UC_CPU_PPC64_POWER8NVL_V10 = 18; - public static final int UC_CPU_PPC64_POWER9_BASE = 19; - public static final int UC_CPU_PPC64_POWER9_DD1 = 20; - public static final int UC_CPU_PPC64_POWER9_DD20 = 21; - public static final int UC_CPU_PPC64_POWER10_BASE = 22; - public static final int UC_CPU_PPC64_POWER10_DD1 = 23; - public static final int UC_CPU_PPC64_970_V22 = 24; - public static final int UC_CPU_PPC64_970FX_V10 = 25; - public static final int UC_CPU_PPC64_970FX_V20 = 26; - public static final int UC_CPU_PPC64_970FX_V21 = 27; - public static final int UC_CPU_PPC64_970FX_V30 = 28; - public static final int UC_CPU_PPC64_970FX_V31 = 29; - public static final int UC_CPU_PPC64_970MP_V10 = 30; - public static final int UC_CPU_PPC64_970MP_V11 = 31; - public static final int UC_CPU_PPC64_CELL_V10 = 32; - public static final int UC_CPU_PPC64_CELL_V20 = 33; - public static final int UC_CPU_PPC64_CELL_V30 = 34; - public static final int UC_CPU_PPC64_CELL_V31 = 35; - public static final int UC_CPU_PPC64_RS64 = 36; - public static final int UC_CPU_PPC64_RS64II = 37; - public static final int UC_CPU_PPC64_RS64III = 38; - public static final int UC_CPU_PPC64_RS64IV = 39; - public static final int UC_CPU_PPC64_CELL_V32 = 35; - public static final int UC_CPU_PPC64_CELL = 35; + public static final int UC_CPU_PPC_E5500 = 0; + public static final int UC_CPU_PPC_E6500 = 1; + public static final int UC_CPU_PPC_970_V2_2 = 2; + public static final int UC_CPU_PPC_970FX_V1_0 = 3; + public static final int UC_CPU_PPC_970FX_V2_0 = 4; + public static final int UC_CPU_PPC_970FX_V2_1 = 5; + public static final int UC_CPU_PPC_970FX_V3_0 = 6; + public static final int UC_CPU_PPC_970FX_V3_1 = 7; + public static final int UC_CPU_PPC_970MP_V1_0 = 8; + public static final int UC_CPU_PPC_970MP_V1_1 = 9; + public static final int UC_CPU_PPC_POWER5_V2_1 = 10; + public static final int UC_CPU_PPC_POWER7_V2_3 = 11; + public static final int UC_CPU_PPC_POWER7_V2_1 = 12; + public static final int UC_CPU_PPC_POWER8E_V2_1 = 13; + public static final int UC_CPU_PPC_POWER8_V2_0 = 14; + public static final int UC_CPU_PPC_POWER8NVL_V1_0 = 15; + public static final int UC_CPU_PPC_POWER9_V1_0 = 16; + public static final int UC_CPU_PPC_POWER9_V2_0 = 17; + public static final int UC_CPU_PPC_POWER10_V1_0 = 18; // PPC registers diff --git a/bindings/java/unicorn/UnicornConst.java b/bindings/java/unicorn/UnicornConst.java index 0c519d65..73cc4bff 100644 --- a/bindings/java/unicorn/UnicornConst.java +++ b/bindings/java/unicorn/UnicornConst.java @@ -82,6 +82,10 @@ public interface UnicornConst { public static final int UC_MEM_READ_PROT = 23; public static final int UC_MEM_FETCH_PROT = 24; public static final int UC_MEM_READ_AFTER = 25; + + public static final int UC_TCG_OP_SUB = 0; + public static final int UC_TCG_OP_FLAG_CMP = 1; + public static final int UC_TCG_OP_FLAG_DIRECT = 2; public static final int UC_HOOK_INTR = 1; public static final int UC_HOOK_INSN = 2; public static final int UC_HOOK_CODE = 4; @@ -97,6 +101,8 @@ public interface UnicornConst { public static final int UC_HOOK_MEM_FETCH = 4096; public static final int UC_HOOK_MEM_READ_AFTER = 8192; public static final int UC_HOOK_INSN_INVALID = 16384; + public static final int UC_HOOK_EDGE_GENERATED = 32768; + public static final int UC_HOOK_TCG_OPCODE = 65536; public static final int UC_HOOK_MEM_UNMAPPED = 112; public static final int UC_HOOK_MEM_PROT = 896; public static final int UC_HOOK_MEM_READ_INVALID = 144; @@ -118,10 +124,10 @@ public interface UnicornConst { public static final int UC_CTL_UC_PAGE_SIZE = 1; public static final int UC_CTL_UC_ARCH = 2; public static final int UC_CTL_UC_TIMEOUT = 3; - public static final int UC_CTL_UC_EXITS_CNT = 4; - public static final int UC_CTL_UC_EXITS = 5; - public static final int UC_CTL_CPU_MODEL = 6; - public static final int UC_CTL_TB_EDGE = 7; + public static final int UC_CTL_UC_USE_EXITS = 4; + public static final int UC_CTL_UC_EXITS_CNT = 5; + public static final int UC_CTL_UC_EXITS = 6; + public static final int UC_CTL_CPU_MODEL = 7; public static final int UC_CTL_TB_REQUEST_CACHE = 8; public static final int UC_CTL_TB_REMOVE_CACHE = 9; diff --git a/bindings/pascal/unicorn/ArmConst.pas b/bindings/pascal/unicorn/ArmConst.pas index 1a85d9f3..187d71bb 100644 --- a/bindings/pascal/unicorn/ArmConst.pas +++ b/bindings/pascal/unicorn/ArmConst.pas @@ -19,9 +19,9 @@ const UC_CPU_ARM_CORTEX_M33 = 11; UC_CPU_ARM_CORTEX_R5 = 12; UC_CPU_ARM_CORTEX_R5F = 13; - UC_CPU_ARM_CORTEX_A8 = 14; - UC_CPU_ARM_CORTEX_A9 = 15; - UC_CPU_ARM_CORTEX_A7 = 16; + UC_CPU_ARM_CORTEX_A7 = 14; + UC_CPU_ARM_CORTEX_A8 = 15; + UC_CPU_ARM_CORTEX_A9 = 16; UC_CPU_ARM_CORTEX_A15 = 17; UC_CPU_ARM_TI925T = 18; UC_CPU_ARM_SA1100 = 19; diff --git a/bindings/pascal/unicorn/MipsConst.pas b/bindings/pascal/unicorn/MipsConst.pas index 3b1df5f0..68ca8c97 100644 --- a/bindings/pascal/unicorn/MipsConst.pas +++ b/bindings/pascal/unicorn/MipsConst.pas @@ -5,35 +5,36 @@ unit MipsConst; interface const - UC_CPU_MIPS_4KC = 0; - UC_CPU_MIPS_4KM = 1; - UC_CPU_MIPS_4KECR1 = 2; - UC_CPU_MIPS_4KEMR1 = 3; - UC_CPU_MIPS_4KEC = 4; - UC_CPU_MIPS_4KEM = 5; - UC_CPU_MIPS_24KC = 6; - UC_CPU_MIPS_24KEC = 7; - UC_CPU_MIPS_24KF = 8; - UC_CPU_MIPS_34KF = 9; - UC_CPU_MIPS_74KF = 10; - UC_CPU_MIPS_M14K = 11; - UC_CPU_MIPS_M14KC = 12; - UC_CPU_MIPS_P5600 = 13; - UC_CPU_MIPS_MIPS32R6_GENERIC = 14; - UC_CPU_MIPS_I7200 = 15; - UC_CPU_MIPS_R4000 = 16; - UC_CPU_MIPS_VR5432 = 17; - UC_CPU_MIPS_5KC = 18; - UC_CPU_MIPS_5KF = 19; - UC_CPU_MIPS_20KC = 20; - UC_CPU_MIPS_MIPS64R2_GENERIC = 21; - UC_CPU_MIPS_5KEC = 22; - UC_CPU_MIPS_5KEF = 23; - UC_CPU_MIPS_I6400 = 24; - UC_CPU_MIPS_I6500 = 25; - UC_CPU_MIPS_LOONGSON_2E = 26; - UC_CPU_MIPS_LOONGSON_2F = 27; - UC_CPU_MIPS_MIPS64DSPR2 = 28; + UC_CPU_MIPS32_4KC = 0; + UC_CPU_MIPS32_4KM = 1; + UC_CPU_MIPS32_4KECR1 = 2; + UC_CPU_MIPS32_4KEMR1 = 3; + UC_CPU_MIPS32_4KEC = 4; + UC_CPU_MIPS32_4KEM = 5; + UC_CPU_MIPS32_24KC = 6; + UC_CPU_MIPS32_24KEC = 7; + UC_CPU_MIPS32_24KF = 8; + UC_CPU_MIPS32_34KF = 9; + UC_CPU_MIPS32_74KF = 10; + UC_CPU_MIPS32_M14K = 11; + UC_CPU_MIPS32_M14KC = 12; + UC_CPU_MIPS32_P5600 = 13; + UC_CPU_MIPS32_MIPS32R6_GENERIC = 14; + UC_CPU_MIPS32_I7200 = 15; + + UC_CPU_MIPS64_R4000 = 0; + UC_CPU_MIPS64_VR5432 = 1; + UC_CPU_MIPS64_5KC = 2; + UC_CPU_MIPS64_5KF = 3; + UC_CPU_MIPS64_20KC = 4; + UC_CPU_MIPS64_MIPS64R2_GENERIC = 5; + UC_CPU_MIPS64_5KEC = 6; + UC_CPU_MIPS64_5KEF = 7; + UC_CPU_MIPS64_I6400 = 8; + UC_CPU_MIPS64_I6500 = 9; + UC_CPU_MIPS64_LOONGSON_2E = 10; + UC_CPU_MIPS64_LOONGSON_2F = 11; + UC_CPU_MIPS64_MIPS64DSPR2 = 12; // MIPS registers diff --git a/bindings/pascal/unicorn/PpcConst.pas b/bindings/pascal/unicorn/PpcConst.pas index 9158c4e3..a80d543f 100644 --- a/bindings/pascal/unicorn/PpcConst.pas +++ b/bindings/pascal/unicorn/PpcConst.pas @@ -5,306 +5,316 @@ unit PpcConst; interface const - UC_CPU_PPC_401A1 = 0; - UC_CPU_PPC_401B2 = 1; - UC_CPU_PPC_401C2 = 2; - UC_CPU_PPC_401D2 = 3; - UC_CPU_PPC_401E2 = 4; - UC_CPU_PPC_401F2 = 5; - UC_CPU_PPC_401G2 = 6; - UC_CPU_PPC_COBRA = 7; - UC_CPU_PPC_403GA = 8; - UC_CPU_PPC_403GB = 9; - UC_CPU_PPC_403GC = 10; - UC_CPU_PPC_403GCX = 11; - UC_CPU_PPC_405D2 = 12; - UC_CPU_PPC_405D4 = 13; - UC_CPU_PPC_405CRA = 14; - UC_CPU_PPC_405CRB = 15; - UC_CPU_PPC_405CRC = 16; - UC_CPU_PPC_405EP = 17; - UC_CPU_PPC_405EZ = 18; - UC_CPU_PPC_405GPA = 19; - UC_CPU_PPC_405GPB = 20; - UC_CPU_PPC_405GPC = 21; - UC_CPU_PPC_405GPD = 22; - UC_CPU_PPC_405GPR = 23; - UC_CPU_PPC_405LP = 24; - UC_CPU_PPC_NPE405H = 25; - UC_CPU_PPC_NPE405H2 = 26; - UC_CPU_PPC_NPE405L = 27; - UC_CPU_PPC_NPE4GS3 = 28; - UC_CPU_PPC_STB03 = 29; - UC_CPU_PPC_STB04 = 30; - UC_CPU_PPC_STB25 = 31; - UC_CPU_PPC_X2VP4 = 32; - UC_CPU_PPC_440_XILINX = 33; - UC_CPU_PPC_440EPA = 34; - UC_CPU_PPC_440EPB = 35; - UC_CPU_PPC_440GPB = 36; - UC_CPU_PPC_440GPC = 37; - UC_CPU_PPC_440GRX = 38; - UC_CPU_PPC_440GXA = 39; - UC_CPU_PPC_440GXB = 40; - UC_CPU_PPC_440GXC = 41; - UC_CPU_PPC_440GXF = 42; - UC_CPU_PPC_440SP = 43; - UC_CPU_PPC_440SP2 = 44; - UC_CPU_PPC_440SPE = 45; - UC_CPU_PPC_460EXB = 46; - UC_CPU_PPC_MPC5XX = 47; - UC_CPU_PPC_MPC8XX = 48; - UC_CPU_PPC_G2 = 49; - UC_CPU_PPC_G2H4 = 50; - UC_CPU_PPC_G2GP = 51; - UC_CPU_PPC_G2LS = 52; - UC_CPU_PPC_MPC603 = 53; - UC_CPU_PPC_G2_HIP3 = 54; - UC_CPU_PPC_G2_HIP4 = 55; - UC_CPU_PPC_G2LE = 56; - UC_CPU_PPC_G2LEGP = 57; - UC_CPU_PPC_G2LELS = 58; - UC_CPU_PPC_G2LEGP1 = 59; - UC_CPU_PPC_G2LEGP3 = 60; - UC_CPU_PPC_E200Z5 = 61; - UC_CPU_PPC_E200Z6 = 62; - UC_CPU_PPC_E300C1 = 63; - UC_CPU_PPC_E300C2 = 64; - UC_CPU_PPC_E300C3 = 65; - UC_CPU_PPC_E300C4 = 66; - UC_CPU_PPC_E500V1_V10 = 67; - UC_CPU_PPC_E500V1_V20 = 68; - UC_CPU_PPC_E500V2_V10 = 69; - UC_CPU_PPC_E500V2_V11 = 70; - UC_CPU_PPC_E500V2_V20 = 71; - UC_CPU_PPC_E500V2_V21 = 72; - UC_CPU_PPC_E500V2_V22 = 73; - UC_CPU_PPC_E500V2_V30 = 74; - UC_CPU_PPC_E500MC = 75; - UC_CPU_PPC_E5500 = 76; - UC_CPU_PPC_E6500 = 77; - UC_CPU_PPC_E600 = 78; - UC_CPU_PPC_601_V0 = 79; - UC_CPU_PPC_601_V1 = 80; - UC_CPU_PPC_601_V2 = 81; - UC_CPU_PPC_602 = 82; - UC_CPU_PPC_603 = 83; - UC_CPU_PPC_603E_V11 = 84; - UC_CPU_PPC_603E_V12 = 85; - UC_CPU_PPC_603E_V13 = 86; - UC_CPU_PPC_603E_V14 = 87; - UC_CPU_PPC_603E_V22 = 88; - UC_CPU_PPC_603E_V3 = 89; - UC_CPU_PPC_603E_V4 = 90; - UC_CPU_PPC_603E_V41 = 91; - UC_CPU_PPC_603E7T = 92; - UC_CPU_PPC_603E7V = 93; - UC_CPU_PPC_603E7V1 = 94; - UC_CPU_PPC_603E7V2 = 95; - UC_CPU_PPC_603E7 = 96; - UC_CPU_PPC_603P = 97; - UC_CPU_PPC_604 = 98; - UC_CPU_PPC_604E_V10 = 99; - UC_CPU_PPC_604E_V22 = 100; - UC_CPU_PPC_604E_V24 = 101; - UC_CPU_PPC_604R = 102; - UC_CPU_PPC_7X0_V10 = 103; - UC_CPU_PPC_7X0_V20 = 104; - UC_CPU_PPC_7X0_V21 = 105; - UC_CPU_PPC_7X0_V22 = 106; - UC_CPU_PPC_7X0_V30 = 107; - UC_CPU_PPC_7X0_V31 = 108; - UC_CPU_PPC_740E = 109; - UC_CPU_PPC_750E = 110; - UC_CPU_PPC_7X0P = 111; - UC_CPU_PPC_750CL_V10 = 112; - UC_CPU_PPC_750CL_V20 = 113; - UC_CPU_PPC_750CX_V10 = 114; - UC_CPU_PPC_750CX_V20 = 115; - UC_CPU_PPC_750CX_V21 = 116; - UC_CPU_PPC_750CX_V22 = 117; - UC_CPU_PPC_750CXE_V21 = 118; - UC_CPU_PPC_750CXE_V22 = 119; - UC_CPU_PPC_750CXE_V23 = 120; - UC_CPU_PPC_750CXE_V24 = 121; - UC_CPU_PPC_750CXE_V24B = 122; - UC_CPU_PPC_750CXE_V30 = 123; - UC_CPU_PPC_750CXE_V31 = 124; - UC_CPU_PPC_750CXE_V31B = 125; - UC_CPU_PPC_750CXR = 126; - UC_CPU_PPC_750FL = 127; - UC_CPU_PPC_750FX_V10 = 128; - UC_CPU_PPC_750FX_V20 = 129; - UC_CPU_PPC_750FX_V21 = 130; - UC_CPU_PPC_750FX_V22 = 131; - UC_CPU_PPC_750FX_V23 = 132; - UC_CPU_PPC_750GL = 133; - UC_CPU_PPC_750GX_V10 = 134; - UC_CPU_PPC_750GX_V11 = 135; - UC_CPU_PPC_750GX_V12 = 136; - UC_CPU_PPC_750L_V20 = 137; - UC_CPU_PPC_750L_V21 = 138; - UC_CPU_PPC_750L_V22 = 139; - UC_CPU_PPC_750L_V30 = 140; - UC_CPU_PPC_750L_V32 = 141; - UC_CPU_PPC_7X5_V10 = 142; - UC_CPU_PPC_7X5_V11 = 143; - UC_CPU_PPC_7X5_V20 = 144; - UC_CPU_PPC_7X5_V21 = 145; - UC_CPU_PPC_7X5_V22 = 146; - UC_CPU_PPC_7X5_V23 = 147; - UC_CPU_PPC_7X5_V24 = 148; - UC_CPU_PPC_7X5_V25 = 149; - UC_CPU_PPC_7X5_V26 = 150; - UC_CPU_PPC_7X5_V27 = 151; - UC_CPU_PPC_7X5_V28 = 152; - UC_CPU_PPC_7400_V10 = 153; - UC_CPU_PPC_7400_V11 = 154; - UC_CPU_PPC_7400_V20 = 155; - UC_CPU_PPC_7400_V21 = 156; - UC_CPU_PPC_7400_V22 = 157; - UC_CPU_PPC_7400_V26 = 158; - UC_CPU_PPC_7400_V27 = 159; - UC_CPU_PPC_7400_V28 = 160; - UC_CPU_PPC_7400_V29 = 161; - UC_CPU_PPC_7410_V10 = 162; - UC_CPU_PPC_7410_V11 = 163; - UC_CPU_PPC_7410_V12 = 164; - UC_CPU_PPC_7410_V13 = 165; - UC_CPU_PPC_7410_V14 = 166; - UC_CPU_PPC_7448_V10 = 167; - UC_CPU_PPC_7448_V11 = 168; - UC_CPU_PPC_7448_V20 = 169; - UC_CPU_PPC_7448_V21 = 170; - UC_CPU_PPC_7450_V10 = 171; - UC_CPU_PPC_7450_V11 = 172; - UC_CPU_PPC_7450_V12 = 173; - UC_CPU_PPC_7450_V20 = 174; - UC_CPU_PPC_7450_V21 = 175; - UC_CPU_PPC_74X1_V23 = 176; - UC_CPU_PPC_74X1_V210 = 177; - UC_CPU_PPC_74X5_V10 = 178; - UC_CPU_PPC_74X5_V21 = 179; - UC_CPU_PPC_74X5_V32 = 180; - UC_CPU_PPC_74X5_V33 = 181; - UC_CPU_PPC_74X5_V34 = 182; - UC_CPU_PPC_74X7_V10 = 183; - UC_CPU_PPC_74X7_V11 = 184; - UC_CPU_PPC_74X7_V12 = 185; - UC_CPU_PPC_74X7A_V10 = 186; - UC_CPU_PPC_74X7A_V11 = 187; - UC_CPU_PPC_74X7A_V12 = 188; - UC_CPU_PPC_IOP480 = 1; - UC_CPU_PPC_X2VP20 = 42; - UC_CPU_PPC_440GRA = 35; - UC_CPU_PPC_440EPX = 38; - UC_CPU_PPC_MPC5200_V10 = 59; - UC_CPU_PPC_MPC5200_V11 = 59; - UC_CPU_PPC_MPC5200_V12 = 59; - UC_CPU_PPC_MPC5200B_V20 = 59; - UC_CPU_PPC_MPC5200B_V21 = 59; - UC_CPU_PPC_MPC834X = 63; - UC_CPU_PPC_MPC837X = 66; - UC_CPU_PPC_E500 = 73; - UC_CPU_PPC_MPC8533_V10 = 72; - UC_CPU_PPC_MPC8533_V11 = 73; - UC_CPU_PPC_MPC8533E_V10 = 72; - UC_CPU_PPC_MPC8533E_V11 = 73; - UC_CPU_PPC_MPC8540_V10 = 67; - UC_CPU_PPC_MPC8540_V20 = 68; - UC_CPU_PPC_MPC8540_V21 = 68; - UC_CPU_PPC_MPC8541_V10 = 68; - UC_CPU_PPC_MPC8541_V11 = 68; - UC_CPU_PPC_MPC8541E_V10 = 68; - UC_CPU_PPC_MPC8541E_V11 = 68; - UC_CPU_PPC_MPC8543_V10 = 69; - UC_CPU_PPC_MPC8543_V11 = 70; - UC_CPU_PPC_MPC8543_V20 = 71; - UC_CPU_PPC_MPC8543_V21 = 72; - UC_CPU_PPC_MPC8543E_V10 = 69; - UC_CPU_PPC_MPC8543E_V11 = 70; - UC_CPU_PPC_MPC8543E_V20 = 71; - UC_CPU_PPC_MPC8543E_V21 = 72; - UC_CPU_PPC_MPC8544_V10 = 72; - UC_CPU_PPC_MPC8544_V11 = 73; - UC_CPU_PPC_MPC8544E_V11 = 73; - UC_CPU_PPC_MPC8544E_V10 = 72; - UC_CPU_PPC_MPC8545_V10 = 69; - UC_CPU_PPC_MPC8545_V20 = 71; - UC_CPU_PPC_MPC8545_V21 = 72; - UC_CPU_PPC_MPC8545E_V10 = 69; - UC_CPU_PPC_MPC8545E_V20 = 71; - UC_CPU_PPC_MPC8545E_V21 = 72; - UC_CPU_PPC_MPC8547E_V10 = 69; - UC_CPU_PPC_MPC8547E_V20 = 71; - UC_CPU_PPC_MPC8547E_V21 = 72; - UC_CPU_PPC_MPC8548_V10 = 69; - UC_CPU_PPC_MPC8548_V11 = 70; - UC_CPU_PPC_MPC8548_V20 = 71; - UC_CPU_PPC_MPC8548_V21 = 72; - UC_CPU_PPC_MPC8548E_V10 = 69; - UC_CPU_PPC_MPC8548E_V11 = 70; - UC_CPU_PPC_MPC8548E_V20 = 71; - UC_CPU_PPC_MPC8548E_V21 = 72; - UC_CPU_PPC_MPC8555_V10 = 69; - UC_CPU_PPC_MPC8555_V11 = 70; - UC_CPU_PPC_MPC8555E_V10 = 69; - UC_CPU_PPC_MPC8555E_V11 = 70; - UC_CPU_PPC_MPC8560_V10 = 69; - UC_CPU_PPC_MPC8560_V20 = 71; - UC_CPU_PPC_MPC8560_V21 = 72; - UC_CPU_PPC_MPC8567 = 73; - UC_CPU_PPC_MPC8567E = 73; - UC_CPU_PPC_MPC8568 = 73; - UC_CPU_PPC_MPC8568E = 73; - UC_CPU_PPC_MPC8572 = 74; - UC_CPU_PPC_MPC8572E = 74; - UC_CPU_PPC_MPC8610 = 78; - UC_CPU_PPC_MPC8641 = 78; - UC_CPU_PPC_MPC8641D = 78; + UC_CPU_PPC_401 = 0; + UC_CPU_PPC_401A1 = 1; + UC_CPU_PPC_401B2 = 2; + UC_CPU_PPC_401C2 = 3; + UC_CPU_PPC_401D2 = 4; + UC_CPU_PPC_401E2 = 5; + UC_CPU_PPC_401F2 = 6; + UC_CPU_PPC_401G2 = 7; + UC_CPU_PPC_IOP480 = 8; + UC_CPU_PPC_COBRA = 9; + UC_CPU_PPC_403GA = 10; + UC_CPU_PPC_403GB = 11; + UC_CPU_PPC_403GC = 12; + UC_CPU_PPC_403GCX = 13; + UC_CPU_PPC_405D2 = 14; + UC_CPU_PPC_405D4 = 15; + UC_CPU_PPC_405CRA = 16; + UC_CPU_PPC_405CRB = 17; + UC_CPU_PPC_405CRC = 18; + UC_CPU_PPC_405EP = 19; + UC_CPU_PPC_405EZ = 20; + UC_CPU_PPC_405GPA = 21; + UC_CPU_PPC_405GPB = 22; + UC_CPU_PPC_405GPC = 23; + UC_CPU_PPC_405GPD = 24; + UC_CPU_PPC_405GPR = 25; + UC_CPU_PPC_405LP = 26; + UC_CPU_PPC_NPE405H = 27; + UC_CPU_PPC_NPE405H2 = 28; + UC_CPU_PPC_NPE405L = 29; + UC_CPU_PPC_NPE4GS3 = 30; + UC_CPU_PPC_STB03 = 31; + UC_CPU_PPC_STB04 = 32; + UC_CPU_PPC_STB25 = 33; + UC_CPU_PPC_X2VP4 = 34; + UC_CPU_PPC_X2VP20 = 35; + UC_CPU_PPC_440_XILINX = 36; + UC_CPU_PPC_440_XILINX_W_DFPU = 37; + UC_CPU_PPC_440EPA = 38; + UC_CPU_PPC_440EPB = 39; + UC_CPU_PPC_440EPX = 40; + UC_CPU_PPC_460EXB = 41; + UC_CPU_PPC_G2 = 42; + UC_CPU_PPC_G2H4 = 43; + UC_CPU_PPC_G2GP = 44; + UC_CPU_PPC_G2LS = 45; + UC_CPU_PPC_G2HIP3 = 46; + UC_CPU_PPC_G2HIP4 = 47; + UC_CPU_PPC_MPC603 = 48; + UC_CPU_PPC_G2LE = 49; + UC_CPU_PPC_G2LEGP = 50; + UC_CPU_PPC_G2LELS = 51; + UC_CPU_PPC_G2LEGP1 = 52; + UC_CPU_PPC_G2LEGP3 = 53; + UC_CPU_PPC_MPC5200_V10 = 54; + UC_CPU_PPC_MPC5200_V11 = 55; + UC_CPU_PPC_MPC5200_V12 = 56; + UC_CPU_PPC_MPC5200B_V20 = 57; + UC_CPU_PPC_MPC5200B_V21 = 58; + UC_CPU_PPC_E200Z5 = 59; + UC_CPU_PPC_E200Z6 = 60; + UC_CPU_PPC_E300C1 = 61; + UC_CPU_PPC_E300C2 = 62; + UC_CPU_PPC_E300C3 = 63; + UC_CPU_PPC_E300C4 = 64; + UC_CPU_PPC_MPC8343 = 65; + UC_CPU_PPC_MPC8343A = 66; + UC_CPU_PPC_MPC8343E = 67; + UC_CPU_PPC_MPC8343EA = 68; + UC_CPU_PPC_MPC8347T = 69; + UC_CPU_PPC_MPC8347P = 70; + UC_CPU_PPC_MPC8347AT = 71; + UC_CPU_PPC_MPC8347AP = 72; + UC_CPU_PPC_MPC8347ET = 73; + UC_CPU_PPC_MPC8347EP = 74; + UC_CPU_PPC_MPC8347EAT = 75; + UC_CPU_PPC_MPC8347EAP = 76; + UC_CPU_PPC_MPC8349 = 77; + UC_CPU_PPC_MPC8349A = 78; + UC_CPU_PPC_MPC8349E = 79; + UC_CPU_PPC_MPC8349EA = 80; + UC_CPU_PPC_MPC8377 = 81; + UC_CPU_PPC_MPC8377E = 82; + UC_CPU_PPC_MPC8378 = 83; + UC_CPU_PPC_MPC8378E = 84; + UC_CPU_PPC_MPC8379 = 85; + UC_CPU_PPC_MPC8379E = 86; + UC_CPU_PPC_E500_V10 = 87; + UC_CPU_PPC_E500_V20 = 88; + UC_CPU_PPC_E500V2_V10 = 89; + UC_CPU_PPC_E500V2_V20 = 90; + UC_CPU_PPC_E500V2_V21 = 91; + UC_CPU_PPC_E500V2_V22 = 92; + UC_CPU_PPC_E500V2_V30 = 93; + UC_CPU_PPC_E500MC = 94; + UC_CPU_PPC_MPC8533_V10 = 95; + UC_CPU_PPC_MPC8533_V11 = 96; + UC_CPU_PPC_MPC8533E_V10 = 97; + UC_CPU_PPC_MPC8533E_V11 = 98; + UC_CPU_PPC_MPC8540_V10 = 99; + UC_CPU_PPC_MPC8540_V20 = 100; + UC_CPU_PPC_MPC8540_V21 = 101; + UC_CPU_PPC_MPC8541_V10 = 102; + UC_CPU_PPC_MPC8541_V11 = 103; + UC_CPU_PPC_MPC8541E_V10 = 104; + UC_CPU_PPC_MPC8541E_V11 = 105; + UC_CPU_PPC_MPC8543_V10 = 106; + UC_CPU_PPC_MPC8543_V11 = 107; + UC_CPU_PPC_MPC8543_V20 = 108; + UC_CPU_PPC_MPC8543_V21 = 109; + UC_CPU_PPC_MPC8543E_V10 = 110; + UC_CPU_PPC_MPC8543E_V11 = 111; + UC_CPU_PPC_MPC8543E_V20 = 112; + UC_CPU_PPC_MPC8543E_V21 = 113; + UC_CPU_PPC_MPC8544_V10 = 114; + UC_CPU_PPC_MPC8544_V11 = 115; + UC_CPU_PPC_MPC8544E_V10 = 116; + UC_CPU_PPC_MPC8544E_V11 = 117; + UC_CPU_PPC_MPC8545_V20 = 118; + UC_CPU_PPC_MPC8545_V21 = 119; + UC_CPU_PPC_MPC8545E_V20 = 120; + UC_CPU_PPC_MPC8545E_V21 = 121; + UC_CPU_PPC_MPC8547E_V20 = 122; + UC_CPU_PPC_MPC8547E_V21 = 123; + UC_CPU_PPC_MPC8548_V10 = 124; + UC_CPU_PPC_MPC8548_V11 = 125; + UC_CPU_PPC_MPC8548_V20 = 126; + UC_CPU_PPC_MPC8548_V21 = 127; + UC_CPU_PPC_MPC8548E_V10 = 128; + UC_CPU_PPC_MPC8548E_V11 = 129; + UC_CPU_PPC_MPC8548E_V20 = 130; + UC_CPU_PPC_MPC8548E_V21 = 131; + UC_CPU_PPC_MPC8555_V10 = 132; + UC_CPU_PPC_MPC8555_V11 = 133; + UC_CPU_PPC_MPC8555E_V10 = 134; + UC_CPU_PPC_MPC8555E_V11 = 135; + UC_CPU_PPC_MPC8560_V10 = 136; + UC_CPU_PPC_MPC8560_V20 = 137; + UC_CPU_PPC_MPC8560_V21 = 138; + UC_CPU_PPC_MPC8567 = 139; + UC_CPU_PPC_MPC8567E = 140; + UC_CPU_PPC_MPC8568 = 141; + UC_CPU_PPC_MPC8568E = 142; + UC_CPU_PPC_MPC8572 = 143; + UC_CPU_PPC_MPC8572E = 144; + UC_CPU_PPC_E600 = 145; + UC_CPU_PPC_MPC8610 = 146; + UC_CPU_PPC_MPC8641 = 147; + UC_CPU_PPC_MPC8641D = 148; + UC_CPU_PPC_601_V0 = 149; + UC_CPU_PPC_601_V1 = 150; + UC_CPU_PPC_601_V2 = 151; + UC_CPU_PPC_602 = 152; + UC_CPU_PPC_603 = 153; + UC_CPU_PPC_603E_V1_1 = 154; + UC_CPU_PPC_603E_V1_2 = 155; + UC_CPU_PPC_603E_V1_3 = 156; + UC_CPU_PPC_603E_V1_4 = 157; + UC_CPU_PPC_603E_V2_2 = 158; + UC_CPU_PPC_603E_V3 = 159; + UC_CPU_PPC_603E_V4 = 160; + UC_CPU_PPC_603E_V4_1 = 161; + UC_CPU_PPC_603E7 = 162; + UC_CPU_PPC_603E7T = 163; + UC_CPU_PPC_603E7V = 164; + UC_CPU_PPC_603E7V1 = 165; + UC_CPU_PPC_603E7V2 = 166; + UC_CPU_PPC_603P = 167; + UC_CPU_PPC_604 = 168; + UC_CPU_PPC_604E_V1_0 = 169; + UC_CPU_PPC_604E_V2_2 = 170; + UC_CPU_PPC_604E_V2_4 = 171; + UC_CPU_PPC_604R = 172; + UC_CPU_PPC_740_V1_0 = 173; + UC_CPU_PPC_750_V1_0 = 174; + UC_CPU_PPC_740_V2_0 = 175; + UC_CPU_PPC_750_V2_0 = 176; + UC_CPU_PPC_740_V2_1 = 177; + UC_CPU_PPC_750_V2_1 = 178; + UC_CPU_PPC_740_V2_2 = 179; + UC_CPU_PPC_750_V2_2 = 180; + UC_CPU_PPC_740_V3_0 = 181; + UC_CPU_PPC_750_V3_0 = 182; + UC_CPU_PPC_740_V3_1 = 183; + UC_CPU_PPC_750_V3_1 = 184; + UC_CPU_PPC_740E = 185; + UC_CPU_PPC_750E = 186; + UC_CPU_PPC_740P = 187; + UC_CPU_PPC_750P = 188; + UC_CPU_PPC_750CL_V1_0 = 189; + UC_CPU_PPC_750CL_V2_0 = 190; + UC_CPU_PPC_750CX_V1_0 = 191; + UC_CPU_PPC_750CX_V2_0 = 192; + UC_CPU_PPC_750CX_V2_1 = 193; + UC_CPU_PPC_750CX_V2_2 = 194; + UC_CPU_PPC_750CXE_V2_1 = 195; + UC_CPU_PPC_750CXE_V2_2 = 196; + UC_CPU_PPC_750CXE_V2_3 = 197; + UC_CPU_PPC_750CXE_V2_4 = 198; + UC_CPU_PPC_750CXE_V2_4B = 199; + UC_CPU_PPC_750CXE_V3_0 = 200; + UC_CPU_PPC_750CXE_V3_1 = 201; + UC_CPU_PPC_750CXE_V3_1B = 202; + UC_CPU_PPC_750CXR = 203; + UC_CPU_PPC_750FL = 204; + UC_CPU_PPC_750FX_V1_0 = 205; + UC_CPU_PPC_750FX_V2_0 = 206; + UC_CPU_PPC_750FX_V2_1 = 207; + UC_CPU_PPC_750FX_V2_2 = 208; + UC_CPU_PPC_750FX_V2_3 = 209; + UC_CPU_PPC_750GL = 210; + UC_CPU_PPC_750GX_V1_0 = 211; + UC_CPU_PPC_750GX_V1_1 = 212; + UC_CPU_PPC_750GX_V1_2 = 213; + UC_CPU_PPC_750L_V2_0 = 214; + UC_CPU_PPC_750L_V2_1 = 215; + UC_CPU_PPC_750L_V2_2 = 216; + UC_CPU_PPC_750L_V3_0 = 217; + UC_CPU_PPC_750L_V3_2 = 218; + UC_CPU_PPC_745_V1_0 = 219; + UC_CPU_PPC_755_V1_0 = 220; + UC_CPU_PPC_745_V1_1 = 221; + UC_CPU_PPC_755_V1_1 = 222; + UC_CPU_PPC_745_V2_0 = 223; + UC_CPU_PPC_755_V2_0 = 224; + UC_CPU_PPC_745_V2_1 = 225; + UC_CPU_PPC_755_V2_1 = 226; + UC_CPU_PPC_745_V2_2 = 227; + UC_CPU_PPC_755_V2_2 = 228; + UC_CPU_PPC_745_V2_3 = 229; + UC_CPU_PPC_755_V2_3 = 230; + UC_CPU_PPC_745_V2_4 = 231; + UC_CPU_PPC_755_V2_4 = 232; + UC_CPU_PPC_745_V2_5 = 233; + UC_CPU_PPC_755_V2_5 = 234; + UC_CPU_PPC_745_V2_6 = 235; + UC_CPU_PPC_755_V2_6 = 236; + UC_CPU_PPC_745_V2_7 = 237; + UC_CPU_PPC_755_V2_7 = 238; + UC_CPU_PPC_745_V2_8 = 239; + UC_CPU_PPC_755_V2_8 = 240; + UC_CPU_PPC_7400_V1_0 = 241; + UC_CPU_PPC_7400_V1_1 = 242; + UC_CPU_PPC_7400_V2_0 = 243; + UC_CPU_PPC_7400_V2_1 = 244; + UC_CPU_PPC_7400_V2_2 = 245; + UC_CPU_PPC_7400_V2_6 = 246; + UC_CPU_PPC_7400_V2_7 = 247; + UC_CPU_PPC_7400_V2_8 = 248; + UC_CPU_PPC_7400_V2_9 = 249; + UC_CPU_PPC_7410_V1_0 = 250; + UC_CPU_PPC_7410_V1_1 = 251; + UC_CPU_PPC_7410_V1_2 = 252; + UC_CPU_PPC_7410_V1_3 = 253; + UC_CPU_PPC_7410_V1_4 = 254; + UC_CPU_PPC_7448_V1_0 = 255; + UC_CPU_PPC_7448_V1_1 = 256; + UC_CPU_PPC_7448_V2_0 = 257; + UC_CPU_PPC_7448_V2_1 = 258; + UC_CPU_PPC_7450_V1_0 = 259; + UC_CPU_PPC_7450_V1_1 = 260; + UC_CPU_PPC_7450_V1_2 = 261; + UC_CPU_PPC_7450_V2_0 = 262; + UC_CPU_PPC_7450_V2_1 = 263; + UC_CPU_PPC_7441_V2_1 = 264; + UC_CPU_PPC_7441_V2_3 = 265; + UC_CPU_PPC_7451_V2_3 = 266; + UC_CPU_PPC_7441_V2_10 = 267; + UC_CPU_PPC_7451_V2_10 = 268; + UC_CPU_PPC_7445_V1_0 = 269; + UC_CPU_PPC_7455_V1_0 = 270; + UC_CPU_PPC_7445_V2_1 = 271; + UC_CPU_PPC_7455_V2_1 = 272; + UC_CPU_PPC_7445_V3_2 = 273; + UC_CPU_PPC_7455_V3_2 = 274; + UC_CPU_PPC_7445_V3_3 = 275; + UC_CPU_PPC_7455_V3_3 = 276; + UC_CPU_PPC_7445_V3_4 = 277; + UC_CPU_PPC_7455_V3_4 = 278; + UC_CPU_PPC_7447_V1_0 = 279; + UC_CPU_PPC_7457_V1_0 = 280; + UC_CPU_PPC_7447_V1_1 = 281; + UC_CPU_PPC_7457_V1_1 = 282; + UC_CPU_PPC_7457_V1_2 = 283; + UC_CPU_PPC_7447A_V1_0 = 284; + UC_CPU_PPC_7457A_V1_0 = 285; + UC_CPU_PPC_7447A_V1_1 = 286; + UC_CPU_PPC_7457A_V1_1 = 287; + UC_CPU_PPC_7447A_V1_2 = 288; + UC_CPU_PPC_7457A_V1_2 = 289; - UC_CPU_PPC64_620 = 0; - UC_CPU_PPC64_630 = 1; - UC_CPU_PPC64_631 = 2; - UC_CPU_PPC64_POWER4 = 3; - UC_CPU_PPC64_POWER4P = 4; - UC_CPU_PPC64_POWER5 = 5; - UC_CPU_PPC64_POWER5P_V21 = 6; - UC_CPU_PPC64_POWER6 = 7; - UC_CPU_PPC64_POWER_SERVER_MASK = 8; - UC_CPU_PPC64_POWER7_BASE = 9; - UC_CPU_PPC64_POWER7_V23 = 10; - UC_CPU_PPC64_POWER7P_BASE = 11; - UC_CPU_PPC64_POWER7P_V21 = 12; - UC_CPU_PPC64_POWER8E_BASE = 13; - UC_CPU_PPC64_POWER8E_V21 = 14; - UC_CPU_PPC64_POWER8_BASE = 15; - UC_CPU_PPC64_POWER8_V20 = 16; - UC_CPU_PPC64_POWER8NVL_BASE = 17; - UC_CPU_PPC64_POWER8NVL_V10 = 18; - UC_CPU_PPC64_POWER9_BASE = 19; - UC_CPU_PPC64_POWER9_DD1 = 20; - UC_CPU_PPC64_POWER9_DD20 = 21; - UC_CPU_PPC64_POWER10_BASE = 22; - UC_CPU_PPC64_POWER10_DD1 = 23; - UC_CPU_PPC64_970_V22 = 24; - UC_CPU_PPC64_970FX_V10 = 25; - UC_CPU_PPC64_970FX_V20 = 26; - UC_CPU_PPC64_970FX_V21 = 27; - UC_CPU_PPC64_970FX_V30 = 28; - UC_CPU_PPC64_970FX_V31 = 29; - UC_CPU_PPC64_970MP_V10 = 30; - UC_CPU_PPC64_970MP_V11 = 31; - UC_CPU_PPC64_CELL_V10 = 32; - UC_CPU_PPC64_CELL_V20 = 33; - UC_CPU_PPC64_CELL_V30 = 34; - UC_CPU_PPC64_CELL_V31 = 35; - UC_CPU_PPC64_RS64 = 36; - UC_CPU_PPC64_RS64II = 37; - UC_CPU_PPC64_RS64III = 38; - UC_CPU_PPC64_RS64IV = 39; - UC_CPU_PPC64_CELL_V32 = 35; - UC_CPU_PPC64_CELL = 35; + UC_CPU_PPC_E5500 = 0; + UC_CPU_PPC_E6500 = 1; + UC_CPU_PPC_970_V2_2 = 2; + UC_CPU_PPC_970FX_V1_0 = 3; + UC_CPU_PPC_970FX_V2_0 = 4; + UC_CPU_PPC_970FX_V2_1 = 5; + UC_CPU_PPC_970FX_V3_0 = 6; + UC_CPU_PPC_970FX_V3_1 = 7; + UC_CPU_PPC_970MP_V1_0 = 8; + UC_CPU_PPC_970MP_V1_1 = 9; + UC_CPU_PPC_POWER5_V2_1 = 10; + UC_CPU_PPC_POWER7_V2_3 = 11; + UC_CPU_PPC_POWER7_V2_1 = 12; + UC_CPU_PPC_POWER8E_V2_1 = 13; + UC_CPU_PPC_POWER8_V2_0 = 14; + UC_CPU_PPC_POWER8NVL_V1_0 = 15; + UC_CPU_PPC_POWER9_V1_0 = 16; + UC_CPU_PPC_POWER9_V2_0 = 17; + UC_CPU_PPC_POWER10_V1_0 = 18; // PPC registers diff --git a/bindings/pascal/unicorn/UnicornConst.pas b/bindings/pascal/unicorn/UnicornConst.pas index 6884687b..af67d5de 100644 --- a/bindings/pascal/unicorn/UnicornConst.pas +++ b/bindings/pascal/unicorn/UnicornConst.pas @@ -83,6 +83,10 @@ const UC_API_MAJOR = 2; UC_MEM_READ_PROT = 23; UC_MEM_FETCH_PROT = 24; UC_MEM_READ_AFTER = 25; + + UC_TCG_OP_SUB = 0; + UC_TCG_OP_FLAG_CMP = 1; + UC_TCG_OP_FLAG_DIRECT = 2; UC_HOOK_INTR = 1; UC_HOOK_INSN = 2; UC_HOOK_CODE = 4; @@ -98,6 +102,8 @@ const UC_API_MAJOR = 2; UC_HOOK_MEM_FETCH = 4096; UC_HOOK_MEM_READ_AFTER = 8192; UC_HOOK_INSN_INVALID = 16384; + UC_HOOK_EDGE_GENERATED = 32768; + UC_HOOK_TCG_OPCODE = 65536; UC_HOOK_MEM_UNMAPPED = 112; UC_HOOK_MEM_PROT = 896; UC_HOOK_MEM_READ_INVALID = 144; @@ -119,10 +125,10 @@ const UC_API_MAJOR = 2; UC_CTL_UC_PAGE_SIZE = 1; UC_CTL_UC_ARCH = 2; UC_CTL_UC_TIMEOUT = 3; - UC_CTL_UC_EXITS_CNT = 4; - UC_CTL_UC_EXITS = 5; - UC_CTL_CPU_MODEL = 6; - UC_CTL_TB_EDGE = 7; + UC_CTL_UC_USE_EXITS = 4; + UC_CTL_UC_EXITS_CNT = 5; + UC_CTL_UC_EXITS = 6; + UC_CTL_CPU_MODEL = 7; UC_CTL_TB_REQUEST_CACHE = 8; UC_CTL_TB_REMOVE_CACHE = 9; diff --git a/bindings/python/unicorn/arm_const.py b/bindings/python/unicorn/arm_const.py index af8fb5ab..b07ff8c3 100644 --- a/bindings/python/unicorn/arm_const.py +++ b/bindings/python/unicorn/arm_const.py @@ -14,9 +14,9 @@ UC_CPU_ARM_CORTEX_M7 = 10 UC_CPU_ARM_CORTEX_M33 = 11 UC_CPU_ARM_CORTEX_R5 = 12 UC_CPU_ARM_CORTEX_R5F = 13 -UC_CPU_ARM_CORTEX_A8 = 14 -UC_CPU_ARM_CORTEX_A9 = 15 -UC_CPU_ARM_CORTEX_A7 = 16 +UC_CPU_ARM_CORTEX_A7 = 14 +UC_CPU_ARM_CORTEX_A8 = 15 +UC_CPU_ARM_CORTEX_A9 = 16 UC_CPU_ARM_CORTEX_A15 = 17 UC_CPU_ARM_TI925T = 18 UC_CPU_ARM_SA1100 = 19 diff --git a/bindings/python/unicorn/mips_const.py b/bindings/python/unicorn/mips_const.py index 43b0e49f..da842339 100644 --- a/bindings/python/unicorn/mips_const.py +++ b/bindings/python/unicorn/mips_const.py @@ -1,34 +1,35 @@ # For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT [mips_const.py] -UC_CPU_MIPS_4KC = 0 -UC_CPU_MIPS_4KM = 1 -UC_CPU_MIPS_4KECR1 = 2 -UC_CPU_MIPS_4KEMR1 = 3 -UC_CPU_MIPS_4KEC = 4 -UC_CPU_MIPS_4KEM = 5 -UC_CPU_MIPS_24KC = 6 -UC_CPU_MIPS_24KEC = 7 -UC_CPU_MIPS_24KF = 8 -UC_CPU_MIPS_34KF = 9 -UC_CPU_MIPS_74KF = 10 -UC_CPU_MIPS_M14K = 11 -UC_CPU_MIPS_M14KC = 12 -UC_CPU_MIPS_P5600 = 13 -UC_CPU_MIPS_MIPS32R6_GENERIC = 14 -UC_CPU_MIPS_I7200 = 15 -UC_CPU_MIPS_R4000 = 16 -UC_CPU_MIPS_VR5432 = 17 -UC_CPU_MIPS_5KC = 18 -UC_CPU_MIPS_5KF = 19 -UC_CPU_MIPS_20KC = 20 -UC_CPU_MIPS_MIPS64R2_GENERIC = 21 -UC_CPU_MIPS_5KEC = 22 -UC_CPU_MIPS_5KEF = 23 -UC_CPU_MIPS_I6400 = 24 -UC_CPU_MIPS_I6500 = 25 -UC_CPU_MIPS_LOONGSON_2E = 26 -UC_CPU_MIPS_LOONGSON_2F = 27 -UC_CPU_MIPS_MIPS64DSPR2 = 28 +UC_CPU_MIPS32_4KC = 0 +UC_CPU_MIPS32_4KM = 1 +UC_CPU_MIPS32_4KECR1 = 2 +UC_CPU_MIPS32_4KEMR1 = 3 +UC_CPU_MIPS32_4KEC = 4 +UC_CPU_MIPS32_4KEM = 5 +UC_CPU_MIPS32_24KC = 6 +UC_CPU_MIPS32_24KEC = 7 +UC_CPU_MIPS32_24KF = 8 +UC_CPU_MIPS32_34KF = 9 +UC_CPU_MIPS32_74KF = 10 +UC_CPU_MIPS32_M14K = 11 +UC_CPU_MIPS32_M14KC = 12 +UC_CPU_MIPS32_P5600 = 13 +UC_CPU_MIPS32_MIPS32R6_GENERIC = 14 +UC_CPU_MIPS32_I7200 = 15 + +UC_CPU_MIPS64_R4000 = 0 +UC_CPU_MIPS64_VR5432 = 1 +UC_CPU_MIPS64_5KC = 2 +UC_CPU_MIPS64_5KF = 3 +UC_CPU_MIPS64_20KC = 4 +UC_CPU_MIPS64_MIPS64R2_GENERIC = 5 +UC_CPU_MIPS64_5KEC = 6 +UC_CPU_MIPS64_5KEF = 7 +UC_CPU_MIPS64_I6400 = 8 +UC_CPU_MIPS64_I6500 = 9 +UC_CPU_MIPS64_LOONGSON_2E = 10 +UC_CPU_MIPS64_LOONGSON_2F = 11 +UC_CPU_MIPS64_MIPS64DSPR2 = 12 # MIPS registers diff --git a/bindings/python/unicorn/ppc_const.py b/bindings/python/unicorn/ppc_const.py index 1d4813cb..2830a52b 100644 --- a/bindings/python/unicorn/ppc_const.py +++ b/bindings/python/unicorn/ppc_const.py @@ -1,305 +1,315 @@ # For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT [ppc_const.py] -UC_CPU_PPC_401A1 = 0 -UC_CPU_PPC_401B2 = 1 -UC_CPU_PPC_401C2 = 2 -UC_CPU_PPC_401D2 = 3 -UC_CPU_PPC_401E2 = 4 -UC_CPU_PPC_401F2 = 5 -UC_CPU_PPC_401G2 = 6 -UC_CPU_PPC_COBRA = 7 -UC_CPU_PPC_403GA = 8 -UC_CPU_PPC_403GB = 9 -UC_CPU_PPC_403GC = 10 -UC_CPU_PPC_403GCX = 11 -UC_CPU_PPC_405D2 = 12 -UC_CPU_PPC_405D4 = 13 -UC_CPU_PPC_405CRA = 14 -UC_CPU_PPC_405CRB = 15 -UC_CPU_PPC_405CRC = 16 -UC_CPU_PPC_405EP = 17 -UC_CPU_PPC_405EZ = 18 -UC_CPU_PPC_405GPA = 19 -UC_CPU_PPC_405GPB = 20 -UC_CPU_PPC_405GPC = 21 -UC_CPU_PPC_405GPD = 22 -UC_CPU_PPC_405GPR = 23 -UC_CPU_PPC_405LP = 24 -UC_CPU_PPC_NPE405H = 25 -UC_CPU_PPC_NPE405H2 = 26 -UC_CPU_PPC_NPE405L = 27 -UC_CPU_PPC_NPE4GS3 = 28 -UC_CPU_PPC_STB03 = 29 -UC_CPU_PPC_STB04 = 30 -UC_CPU_PPC_STB25 = 31 -UC_CPU_PPC_X2VP4 = 32 -UC_CPU_PPC_440_XILINX = 33 -UC_CPU_PPC_440EPA = 34 -UC_CPU_PPC_440EPB = 35 -UC_CPU_PPC_440GPB = 36 -UC_CPU_PPC_440GPC = 37 -UC_CPU_PPC_440GRX = 38 -UC_CPU_PPC_440GXA = 39 -UC_CPU_PPC_440GXB = 40 -UC_CPU_PPC_440GXC = 41 -UC_CPU_PPC_440GXF = 42 -UC_CPU_PPC_440SP = 43 -UC_CPU_PPC_440SP2 = 44 -UC_CPU_PPC_440SPE = 45 -UC_CPU_PPC_460EXB = 46 -UC_CPU_PPC_MPC5XX = 47 -UC_CPU_PPC_MPC8XX = 48 -UC_CPU_PPC_G2 = 49 -UC_CPU_PPC_G2H4 = 50 -UC_CPU_PPC_G2GP = 51 -UC_CPU_PPC_G2LS = 52 -UC_CPU_PPC_MPC603 = 53 -UC_CPU_PPC_G2_HIP3 = 54 -UC_CPU_PPC_G2_HIP4 = 55 -UC_CPU_PPC_G2LE = 56 -UC_CPU_PPC_G2LEGP = 57 -UC_CPU_PPC_G2LELS = 58 -UC_CPU_PPC_G2LEGP1 = 59 -UC_CPU_PPC_G2LEGP3 = 60 -UC_CPU_PPC_E200Z5 = 61 -UC_CPU_PPC_E200Z6 = 62 -UC_CPU_PPC_E300C1 = 63 -UC_CPU_PPC_E300C2 = 64 -UC_CPU_PPC_E300C3 = 65 -UC_CPU_PPC_E300C4 = 66 -UC_CPU_PPC_E500V1_V10 = 67 -UC_CPU_PPC_E500V1_V20 = 68 -UC_CPU_PPC_E500V2_V10 = 69 -UC_CPU_PPC_E500V2_V11 = 70 -UC_CPU_PPC_E500V2_V20 = 71 -UC_CPU_PPC_E500V2_V21 = 72 -UC_CPU_PPC_E500V2_V22 = 73 -UC_CPU_PPC_E500V2_V30 = 74 -UC_CPU_PPC_E500MC = 75 -UC_CPU_PPC_E5500 = 76 -UC_CPU_PPC_E6500 = 77 -UC_CPU_PPC_E600 = 78 -UC_CPU_PPC_601_V0 = 79 -UC_CPU_PPC_601_V1 = 80 -UC_CPU_PPC_601_V2 = 81 -UC_CPU_PPC_602 = 82 -UC_CPU_PPC_603 = 83 -UC_CPU_PPC_603E_V11 = 84 -UC_CPU_PPC_603E_V12 = 85 -UC_CPU_PPC_603E_V13 = 86 -UC_CPU_PPC_603E_V14 = 87 -UC_CPU_PPC_603E_V22 = 88 -UC_CPU_PPC_603E_V3 = 89 -UC_CPU_PPC_603E_V4 = 90 -UC_CPU_PPC_603E_V41 = 91 -UC_CPU_PPC_603E7T = 92 -UC_CPU_PPC_603E7V = 93 -UC_CPU_PPC_603E7V1 = 94 -UC_CPU_PPC_603E7V2 = 95 -UC_CPU_PPC_603E7 = 96 -UC_CPU_PPC_603P = 97 -UC_CPU_PPC_604 = 98 -UC_CPU_PPC_604E_V10 = 99 -UC_CPU_PPC_604E_V22 = 100 -UC_CPU_PPC_604E_V24 = 101 -UC_CPU_PPC_604R = 102 -UC_CPU_PPC_7X0_V10 = 103 -UC_CPU_PPC_7X0_V20 = 104 -UC_CPU_PPC_7X0_V21 = 105 -UC_CPU_PPC_7X0_V22 = 106 -UC_CPU_PPC_7X0_V30 = 107 -UC_CPU_PPC_7X0_V31 = 108 -UC_CPU_PPC_740E = 109 -UC_CPU_PPC_750E = 110 -UC_CPU_PPC_7X0P = 111 -UC_CPU_PPC_750CL_V10 = 112 -UC_CPU_PPC_750CL_V20 = 113 -UC_CPU_PPC_750CX_V10 = 114 -UC_CPU_PPC_750CX_V20 = 115 -UC_CPU_PPC_750CX_V21 = 116 -UC_CPU_PPC_750CX_V22 = 117 -UC_CPU_PPC_750CXE_V21 = 118 -UC_CPU_PPC_750CXE_V22 = 119 -UC_CPU_PPC_750CXE_V23 = 120 -UC_CPU_PPC_750CXE_V24 = 121 -UC_CPU_PPC_750CXE_V24B = 122 -UC_CPU_PPC_750CXE_V30 = 123 -UC_CPU_PPC_750CXE_V31 = 124 -UC_CPU_PPC_750CXE_V31B = 125 -UC_CPU_PPC_750CXR = 126 -UC_CPU_PPC_750FL = 127 -UC_CPU_PPC_750FX_V10 = 128 -UC_CPU_PPC_750FX_V20 = 129 -UC_CPU_PPC_750FX_V21 = 130 -UC_CPU_PPC_750FX_V22 = 131 -UC_CPU_PPC_750FX_V23 = 132 -UC_CPU_PPC_750GL = 133 -UC_CPU_PPC_750GX_V10 = 134 -UC_CPU_PPC_750GX_V11 = 135 -UC_CPU_PPC_750GX_V12 = 136 -UC_CPU_PPC_750L_V20 = 137 -UC_CPU_PPC_750L_V21 = 138 -UC_CPU_PPC_750L_V22 = 139 -UC_CPU_PPC_750L_V30 = 140 -UC_CPU_PPC_750L_V32 = 141 -UC_CPU_PPC_7X5_V10 = 142 -UC_CPU_PPC_7X5_V11 = 143 -UC_CPU_PPC_7X5_V20 = 144 -UC_CPU_PPC_7X5_V21 = 145 -UC_CPU_PPC_7X5_V22 = 146 -UC_CPU_PPC_7X5_V23 = 147 -UC_CPU_PPC_7X5_V24 = 148 -UC_CPU_PPC_7X5_V25 = 149 -UC_CPU_PPC_7X5_V26 = 150 -UC_CPU_PPC_7X5_V27 = 151 -UC_CPU_PPC_7X5_V28 = 152 -UC_CPU_PPC_7400_V10 = 153 -UC_CPU_PPC_7400_V11 = 154 -UC_CPU_PPC_7400_V20 = 155 -UC_CPU_PPC_7400_V21 = 156 -UC_CPU_PPC_7400_V22 = 157 -UC_CPU_PPC_7400_V26 = 158 -UC_CPU_PPC_7400_V27 = 159 -UC_CPU_PPC_7400_V28 = 160 -UC_CPU_PPC_7400_V29 = 161 -UC_CPU_PPC_7410_V10 = 162 -UC_CPU_PPC_7410_V11 = 163 -UC_CPU_PPC_7410_V12 = 164 -UC_CPU_PPC_7410_V13 = 165 -UC_CPU_PPC_7410_V14 = 166 -UC_CPU_PPC_7448_V10 = 167 -UC_CPU_PPC_7448_V11 = 168 -UC_CPU_PPC_7448_V20 = 169 -UC_CPU_PPC_7448_V21 = 170 -UC_CPU_PPC_7450_V10 = 171 -UC_CPU_PPC_7450_V11 = 172 -UC_CPU_PPC_7450_V12 = 173 -UC_CPU_PPC_7450_V20 = 174 -UC_CPU_PPC_7450_V21 = 175 -UC_CPU_PPC_74X1_V23 = 176 -UC_CPU_PPC_74X1_V210 = 177 -UC_CPU_PPC_74X5_V10 = 178 -UC_CPU_PPC_74X5_V21 = 179 -UC_CPU_PPC_74X5_V32 = 180 -UC_CPU_PPC_74X5_V33 = 181 -UC_CPU_PPC_74X5_V34 = 182 -UC_CPU_PPC_74X7_V10 = 183 -UC_CPU_PPC_74X7_V11 = 184 -UC_CPU_PPC_74X7_V12 = 185 -UC_CPU_PPC_74X7A_V10 = 186 -UC_CPU_PPC_74X7A_V11 = 187 -UC_CPU_PPC_74X7A_V12 = 188 -UC_CPU_PPC_IOP480 = 1 -UC_CPU_PPC_X2VP20 = 42 -UC_CPU_PPC_440GRA = 35 -UC_CPU_PPC_440EPX = 38 -UC_CPU_PPC_MPC5200_V10 = 59 -UC_CPU_PPC_MPC5200_V11 = 59 -UC_CPU_PPC_MPC5200_V12 = 59 -UC_CPU_PPC_MPC5200B_V20 = 59 -UC_CPU_PPC_MPC5200B_V21 = 59 -UC_CPU_PPC_MPC834X = 63 -UC_CPU_PPC_MPC837X = 66 -UC_CPU_PPC_E500 = 73 -UC_CPU_PPC_MPC8533_V10 = 72 -UC_CPU_PPC_MPC8533_V11 = 73 -UC_CPU_PPC_MPC8533E_V10 = 72 -UC_CPU_PPC_MPC8533E_V11 = 73 -UC_CPU_PPC_MPC8540_V10 = 67 -UC_CPU_PPC_MPC8540_V20 = 68 -UC_CPU_PPC_MPC8540_V21 = 68 -UC_CPU_PPC_MPC8541_V10 = 68 -UC_CPU_PPC_MPC8541_V11 = 68 -UC_CPU_PPC_MPC8541E_V10 = 68 -UC_CPU_PPC_MPC8541E_V11 = 68 -UC_CPU_PPC_MPC8543_V10 = 69 -UC_CPU_PPC_MPC8543_V11 = 70 -UC_CPU_PPC_MPC8543_V20 = 71 -UC_CPU_PPC_MPC8543_V21 = 72 -UC_CPU_PPC_MPC8543E_V10 = 69 -UC_CPU_PPC_MPC8543E_V11 = 70 -UC_CPU_PPC_MPC8543E_V20 = 71 -UC_CPU_PPC_MPC8543E_V21 = 72 -UC_CPU_PPC_MPC8544_V10 = 72 -UC_CPU_PPC_MPC8544_V11 = 73 -UC_CPU_PPC_MPC8544E_V11 = 73 -UC_CPU_PPC_MPC8544E_V10 = 72 -UC_CPU_PPC_MPC8545_V10 = 69 -UC_CPU_PPC_MPC8545_V20 = 71 -UC_CPU_PPC_MPC8545_V21 = 72 -UC_CPU_PPC_MPC8545E_V10 = 69 -UC_CPU_PPC_MPC8545E_V20 = 71 -UC_CPU_PPC_MPC8545E_V21 = 72 -UC_CPU_PPC_MPC8547E_V10 = 69 -UC_CPU_PPC_MPC8547E_V20 = 71 -UC_CPU_PPC_MPC8547E_V21 = 72 -UC_CPU_PPC_MPC8548_V10 = 69 -UC_CPU_PPC_MPC8548_V11 = 70 -UC_CPU_PPC_MPC8548_V20 = 71 -UC_CPU_PPC_MPC8548_V21 = 72 -UC_CPU_PPC_MPC8548E_V10 = 69 -UC_CPU_PPC_MPC8548E_V11 = 70 -UC_CPU_PPC_MPC8548E_V20 = 71 -UC_CPU_PPC_MPC8548E_V21 = 72 -UC_CPU_PPC_MPC8555_V10 = 69 -UC_CPU_PPC_MPC8555_V11 = 70 -UC_CPU_PPC_MPC8555E_V10 = 69 -UC_CPU_PPC_MPC8555E_V11 = 70 -UC_CPU_PPC_MPC8560_V10 = 69 -UC_CPU_PPC_MPC8560_V20 = 71 -UC_CPU_PPC_MPC8560_V21 = 72 -UC_CPU_PPC_MPC8567 = 73 -UC_CPU_PPC_MPC8567E = 73 -UC_CPU_PPC_MPC8568 = 73 -UC_CPU_PPC_MPC8568E = 73 -UC_CPU_PPC_MPC8572 = 74 -UC_CPU_PPC_MPC8572E = 74 -UC_CPU_PPC_MPC8610 = 78 -UC_CPU_PPC_MPC8641 = 78 -UC_CPU_PPC_MPC8641D = 78 +UC_CPU_PPC_401 = 0 +UC_CPU_PPC_401A1 = 1 +UC_CPU_PPC_401B2 = 2 +UC_CPU_PPC_401C2 = 3 +UC_CPU_PPC_401D2 = 4 +UC_CPU_PPC_401E2 = 5 +UC_CPU_PPC_401F2 = 6 +UC_CPU_PPC_401G2 = 7 +UC_CPU_PPC_IOP480 = 8 +UC_CPU_PPC_COBRA = 9 +UC_CPU_PPC_403GA = 10 +UC_CPU_PPC_403GB = 11 +UC_CPU_PPC_403GC = 12 +UC_CPU_PPC_403GCX = 13 +UC_CPU_PPC_405D2 = 14 +UC_CPU_PPC_405D4 = 15 +UC_CPU_PPC_405CRA = 16 +UC_CPU_PPC_405CRB = 17 +UC_CPU_PPC_405CRC = 18 +UC_CPU_PPC_405EP = 19 +UC_CPU_PPC_405EZ = 20 +UC_CPU_PPC_405GPA = 21 +UC_CPU_PPC_405GPB = 22 +UC_CPU_PPC_405GPC = 23 +UC_CPU_PPC_405GPD = 24 +UC_CPU_PPC_405GPR = 25 +UC_CPU_PPC_405LP = 26 +UC_CPU_PPC_NPE405H = 27 +UC_CPU_PPC_NPE405H2 = 28 +UC_CPU_PPC_NPE405L = 29 +UC_CPU_PPC_NPE4GS3 = 30 +UC_CPU_PPC_STB03 = 31 +UC_CPU_PPC_STB04 = 32 +UC_CPU_PPC_STB25 = 33 +UC_CPU_PPC_X2VP4 = 34 +UC_CPU_PPC_X2VP20 = 35 +UC_CPU_PPC_440_XILINX = 36 +UC_CPU_PPC_440_XILINX_W_DFPU = 37 +UC_CPU_PPC_440EPA = 38 +UC_CPU_PPC_440EPB = 39 +UC_CPU_PPC_440EPX = 40 +UC_CPU_PPC_460EXB = 41 +UC_CPU_PPC_G2 = 42 +UC_CPU_PPC_G2H4 = 43 +UC_CPU_PPC_G2GP = 44 +UC_CPU_PPC_G2LS = 45 +UC_CPU_PPC_G2HIP3 = 46 +UC_CPU_PPC_G2HIP4 = 47 +UC_CPU_PPC_MPC603 = 48 +UC_CPU_PPC_G2LE = 49 +UC_CPU_PPC_G2LEGP = 50 +UC_CPU_PPC_G2LELS = 51 +UC_CPU_PPC_G2LEGP1 = 52 +UC_CPU_PPC_G2LEGP3 = 53 +UC_CPU_PPC_MPC5200_V10 = 54 +UC_CPU_PPC_MPC5200_V11 = 55 +UC_CPU_PPC_MPC5200_V12 = 56 +UC_CPU_PPC_MPC5200B_V20 = 57 +UC_CPU_PPC_MPC5200B_V21 = 58 +UC_CPU_PPC_E200Z5 = 59 +UC_CPU_PPC_E200Z6 = 60 +UC_CPU_PPC_E300C1 = 61 +UC_CPU_PPC_E300C2 = 62 +UC_CPU_PPC_E300C3 = 63 +UC_CPU_PPC_E300C4 = 64 +UC_CPU_PPC_MPC8343 = 65 +UC_CPU_PPC_MPC8343A = 66 +UC_CPU_PPC_MPC8343E = 67 +UC_CPU_PPC_MPC8343EA = 68 +UC_CPU_PPC_MPC8347T = 69 +UC_CPU_PPC_MPC8347P = 70 +UC_CPU_PPC_MPC8347AT = 71 +UC_CPU_PPC_MPC8347AP = 72 +UC_CPU_PPC_MPC8347ET = 73 +UC_CPU_PPC_MPC8347EP = 74 +UC_CPU_PPC_MPC8347EAT = 75 +UC_CPU_PPC_MPC8347EAP = 76 +UC_CPU_PPC_MPC8349 = 77 +UC_CPU_PPC_MPC8349A = 78 +UC_CPU_PPC_MPC8349E = 79 +UC_CPU_PPC_MPC8349EA = 80 +UC_CPU_PPC_MPC8377 = 81 +UC_CPU_PPC_MPC8377E = 82 +UC_CPU_PPC_MPC8378 = 83 +UC_CPU_PPC_MPC8378E = 84 +UC_CPU_PPC_MPC8379 = 85 +UC_CPU_PPC_MPC8379E = 86 +UC_CPU_PPC_E500_V10 = 87 +UC_CPU_PPC_E500_V20 = 88 +UC_CPU_PPC_E500V2_V10 = 89 +UC_CPU_PPC_E500V2_V20 = 90 +UC_CPU_PPC_E500V2_V21 = 91 +UC_CPU_PPC_E500V2_V22 = 92 +UC_CPU_PPC_E500V2_V30 = 93 +UC_CPU_PPC_E500MC = 94 +UC_CPU_PPC_MPC8533_V10 = 95 +UC_CPU_PPC_MPC8533_V11 = 96 +UC_CPU_PPC_MPC8533E_V10 = 97 +UC_CPU_PPC_MPC8533E_V11 = 98 +UC_CPU_PPC_MPC8540_V10 = 99 +UC_CPU_PPC_MPC8540_V20 = 100 +UC_CPU_PPC_MPC8540_V21 = 101 +UC_CPU_PPC_MPC8541_V10 = 102 +UC_CPU_PPC_MPC8541_V11 = 103 +UC_CPU_PPC_MPC8541E_V10 = 104 +UC_CPU_PPC_MPC8541E_V11 = 105 +UC_CPU_PPC_MPC8543_V10 = 106 +UC_CPU_PPC_MPC8543_V11 = 107 +UC_CPU_PPC_MPC8543_V20 = 108 +UC_CPU_PPC_MPC8543_V21 = 109 +UC_CPU_PPC_MPC8543E_V10 = 110 +UC_CPU_PPC_MPC8543E_V11 = 111 +UC_CPU_PPC_MPC8543E_V20 = 112 +UC_CPU_PPC_MPC8543E_V21 = 113 +UC_CPU_PPC_MPC8544_V10 = 114 +UC_CPU_PPC_MPC8544_V11 = 115 +UC_CPU_PPC_MPC8544E_V10 = 116 +UC_CPU_PPC_MPC8544E_V11 = 117 +UC_CPU_PPC_MPC8545_V20 = 118 +UC_CPU_PPC_MPC8545_V21 = 119 +UC_CPU_PPC_MPC8545E_V20 = 120 +UC_CPU_PPC_MPC8545E_V21 = 121 +UC_CPU_PPC_MPC8547E_V20 = 122 +UC_CPU_PPC_MPC8547E_V21 = 123 +UC_CPU_PPC_MPC8548_V10 = 124 +UC_CPU_PPC_MPC8548_V11 = 125 +UC_CPU_PPC_MPC8548_V20 = 126 +UC_CPU_PPC_MPC8548_V21 = 127 +UC_CPU_PPC_MPC8548E_V10 = 128 +UC_CPU_PPC_MPC8548E_V11 = 129 +UC_CPU_PPC_MPC8548E_V20 = 130 +UC_CPU_PPC_MPC8548E_V21 = 131 +UC_CPU_PPC_MPC8555_V10 = 132 +UC_CPU_PPC_MPC8555_V11 = 133 +UC_CPU_PPC_MPC8555E_V10 = 134 +UC_CPU_PPC_MPC8555E_V11 = 135 +UC_CPU_PPC_MPC8560_V10 = 136 +UC_CPU_PPC_MPC8560_V20 = 137 +UC_CPU_PPC_MPC8560_V21 = 138 +UC_CPU_PPC_MPC8567 = 139 +UC_CPU_PPC_MPC8567E = 140 +UC_CPU_PPC_MPC8568 = 141 +UC_CPU_PPC_MPC8568E = 142 +UC_CPU_PPC_MPC8572 = 143 +UC_CPU_PPC_MPC8572E = 144 +UC_CPU_PPC_E600 = 145 +UC_CPU_PPC_MPC8610 = 146 +UC_CPU_PPC_MPC8641 = 147 +UC_CPU_PPC_MPC8641D = 148 +UC_CPU_PPC_601_V0 = 149 +UC_CPU_PPC_601_V1 = 150 +UC_CPU_PPC_601_V2 = 151 +UC_CPU_PPC_602 = 152 +UC_CPU_PPC_603 = 153 +UC_CPU_PPC_603E_V1_1 = 154 +UC_CPU_PPC_603E_V1_2 = 155 +UC_CPU_PPC_603E_V1_3 = 156 +UC_CPU_PPC_603E_V1_4 = 157 +UC_CPU_PPC_603E_V2_2 = 158 +UC_CPU_PPC_603E_V3 = 159 +UC_CPU_PPC_603E_V4 = 160 +UC_CPU_PPC_603E_V4_1 = 161 +UC_CPU_PPC_603E7 = 162 +UC_CPU_PPC_603E7T = 163 +UC_CPU_PPC_603E7V = 164 +UC_CPU_PPC_603E7V1 = 165 +UC_CPU_PPC_603E7V2 = 166 +UC_CPU_PPC_603P = 167 +UC_CPU_PPC_604 = 168 +UC_CPU_PPC_604E_V1_0 = 169 +UC_CPU_PPC_604E_V2_2 = 170 +UC_CPU_PPC_604E_V2_4 = 171 +UC_CPU_PPC_604R = 172 +UC_CPU_PPC_740_V1_0 = 173 +UC_CPU_PPC_750_V1_0 = 174 +UC_CPU_PPC_740_V2_0 = 175 +UC_CPU_PPC_750_V2_0 = 176 +UC_CPU_PPC_740_V2_1 = 177 +UC_CPU_PPC_750_V2_1 = 178 +UC_CPU_PPC_740_V2_2 = 179 +UC_CPU_PPC_750_V2_2 = 180 +UC_CPU_PPC_740_V3_0 = 181 +UC_CPU_PPC_750_V3_0 = 182 +UC_CPU_PPC_740_V3_1 = 183 +UC_CPU_PPC_750_V3_1 = 184 +UC_CPU_PPC_740E = 185 +UC_CPU_PPC_750E = 186 +UC_CPU_PPC_740P = 187 +UC_CPU_PPC_750P = 188 +UC_CPU_PPC_750CL_V1_0 = 189 +UC_CPU_PPC_750CL_V2_0 = 190 +UC_CPU_PPC_750CX_V1_0 = 191 +UC_CPU_PPC_750CX_V2_0 = 192 +UC_CPU_PPC_750CX_V2_1 = 193 +UC_CPU_PPC_750CX_V2_2 = 194 +UC_CPU_PPC_750CXE_V2_1 = 195 +UC_CPU_PPC_750CXE_V2_2 = 196 +UC_CPU_PPC_750CXE_V2_3 = 197 +UC_CPU_PPC_750CXE_V2_4 = 198 +UC_CPU_PPC_750CXE_V2_4B = 199 +UC_CPU_PPC_750CXE_V3_0 = 200 +UC_CPU_PPC_750CXE_V3_1 = 201 +UC_CPU_PPC_750CXE_V3_1B = 202 +UC_CPU_PPC_750CXR = 203 +UC_CPU_PPC_750FL = 204 +UC_CPU_PPC_750FX_V1_0 = 205 +UC_CPU_PPC_750FX_V2_0 = 206 +UC_CPU_PPC_750FX_V2_1 = 207 +UC_CPU_PPC_750FX_V2_2 = 208 +UC_CPU_PPC_750FX_V2_3 = 209 +UC_CPU_PPC_750GL = 210 +UC_CPU_PPC_750GX_V1_0 = 211 +UC_CPU_PPC_750GX_V1_1 = 212 +UC_CPU_PPC_750GX_V1_2 = 213 +UC_CPU_PPC_750L_V2_0 = 214 +UC_CPU_PPC_750L_V2_1 = 215 +UC_CPU_PPC_750L_V2_2 = 216 +UC_CPU_PPC_750L_V3_0 = 217 +UC_CPU_PPC_750L_V3_2 = 218 +UC_CPU_PPC_745_V1_0 = 219 +UC_CPU_PPC_755_V1_0 = 220 +UC_CPU_PPC_745_V1_1 = 221 +UC_CPU_PPC_755_V1_1 = 222 +UC_CPU_PPC_745_V2_0 = 223 +UC_CPU_PPC_755_V2_0 = 224 +UC_CPU_PPC_745_V2_1 = 225 +UC_CPU_PPC_755_V2_1 = 226 +UC_CPU_PPC_745_V2_2 = 227 +UC_CPU_PPC_755_V2_2 = 228 +UC_CPU_PPC_745_V2_3 = 229 +UC_CPU_PPC_755_V2_3 = 230 +UC_CPU_PPC_745_V2_4 = 231 +UC_CPU_PPC_755_V2_4 = 232 +UC_CPU_PPC_745_V2_5 = 233 +UC_CPU_PPC_755_V2_5 = 234 +UC_CPU_PPC_745_V2_6 = 235 +UC_CPU_PPC_755_V2_6 = 236 +UC_CPU_PPC_745_V2_7 = 237 +UC_CPU_PPC_755_V2_7 = 238 +UC_CPU_PPC_745_V2_8 = 239 +UC_CPU_PPC_755_V2_8 = 240 +UC_CPU_PPC_7400_V1_0 = 241 +UC_CPU_PPC_7400_V1_1 = 242 +UC_CPU_PPC_7400_V2_0 = 243 +UC_CPU_PPC_7400_V2_1 = 244 +UC_CPU_PPC_7400_V2_2 = 245 +UC_CPU_PPC_7400_V2_6 = 246 +UC_CPU_PPC_7400_V2_7 = 247 +UC_CPU_PPC_7400_V2_8 = 248 +UC_CPU_PPC_7400_V2_9 = 249 +UC_CPU_PPC_7410_V1_0 = 250 +UC_CPU_PPC_7410_V1_1 = 251 +UC_CPU_PPC_7410_V1_2 = 252 +UC_CPU_PPC_7410_V1_3 = 253 +UC_CPU_PPC_7410_V1_4 = 254 +UC_CPU_PPC_7448_V1_0 = 255 +UC_CPU_PPC_7448_V1_1 = 256 +UC_CPU_PPC_7448_V2_0 = 257 +UC_CPU_PPC_7448_V2_1 = 258 +UC_CPU_PPC_7450_V1_0 = 259 +UC_CPU_PPC_7450_V1_1 = 260 +UC_CPU_PPC_7450_V1_2 = 261 +UC_CPU_PPC_7450_V2_0 = 262 +UC_CPU_PPC_7450_V2_1 = 263 +UC_CPU_PPC_7441_V2_1 = 264 +UC_CPU_PPC_7441_V2_3 = 265 +UC_CPU_PPC_7451_V2_3 = 266 +UC_CPU_PPC_7441_V2_10 = 267 +UC_CPU_PPC_7451_V2_10 = 268 +UC_CPU_PPC_7445_V1_0 = 269 +UC_CPU_PPC_7455_V1_0 = 270 +UC_CPU_PPC_7445_V2_1 = 271 +UC_CPU_PPC_7455_V2_1 = 272 +UC_CPU_PPC_7445_V3_2 = 273 +UC_CPU_PPC_7455_V3_2 = 274 +UC_CPU_PPC_7445_V3_3 = 275 +UC_CPU_PPC_7455_V3_3 = 276 +UC_CPU_PPC_7445_V3_4 = 277 +UC_CPU_PPC_7455_V3_4 = 278 +UC_CPU_PPC_7447_V1_0 = 279 +UC_CPU_PPC_7457_V1_0 = 280 +UC_CPU_PPC_7447_V1_1 = 281 +UC_CPU_PPC_7457_V1_1 = 282 +UC_CPU_PPC_7457_V1_2 = 283 +UC_CPU_PPC_7447A_V1_0 = 284 +UC_CPU_PPC_7457A_V1_0 = 285 +UC_CPU_PPC_7447A_V1_1 = 286 +UC_CPU_PPC_7457A_V1_1 = 287 +UC_CPU_PPC_7447A_V1_2 = 288 +UC_CPU_PPC_7457A_V1_2 = 289 -UC_CPU_PPC64_620 = 0 -UC_CPU_PPC64_630 = 1 -UC_CPU_PPC64_631 = 2 -UC_CPU_PPC64_POWER4 = 3 -UC_CPU_PPC64_POWER4P = 4 -UC_CPU_PPC64_POWER5 = 5 -UC_CPU_PPC64_POWER5P_V21 = 6 -UC_CPU_PPC64_POWER6 = 7 -UC_CPU_PPC64_POWER_SERVER_MASK = 8 -UC_CPU_PPC64_POWER7_BASE = 9 -UC_CPU_PPC64_POWER7_V23 = 10 -UC_CPU_PPC64_POWER7P_BASE = 11 -UC_CPU_PPC64_POWER7P_V21 = 12 -UC_CPU_PPC64_POWER8E_BASE = 13 -UC_CPU_PPC64_POWER8E_V21 = 14 -UC_CPU_PPC64_POWER8_BASE = 15 -UC_CPU_PPC64_POWER8_V20 = 16 -UC_CPU_PPC64_POWER8NVL_BASE = 17 -UC_CPU_PPC64_POWER8NVL_V10 = 18 -UC_CPU_PPC64_POWER9_BASE = 19 -UC_CPU_PPC64_POWER9_DD1 = 20 -UC_CPU_PPC64_POWER9_DD20 = 21 -UC_CPU_PPC64_POWER10_BASE = 22 -UC_CPU_PPC64_POWER10_DD1 = 23 -UC_CPU_PPC64_970_V22 = 24 -UC_CPU_PPC64_970FX_V10 = 25 -UC_CPU_PPC64_970FX_V20 = 26 -UC_CPU_PPC64_970FX_V21 = 27 -UC_CPU_PPC64_970FX_V30 = 28 -UC_CPU_PPC64_970FX_V31 = 29 -UC_CPU_PPC64_970MP_V10 = 30 -UC_CPU_PPC64_970MP_V11 = 31 -UC_CPU_PPC64_CELL_V10 = 32 -UC_CPU_PPC64_CELL_V20 = 33 -UC_CPU_PPC64_CELL_V30 = 34 -UC_CPU_PPC64_CELL_V31 = 35 -UC_CPU_PPC64_RS64 = 36 -UC_CPU_PPC64_RS64II = 37 -UC_CPU_PPC64_RS64III = 38 -UC_CPU_PPC64_RS64IV = 39 -UC_CPU_PPC64_CELL_V32 = 35 -UC_CPU_PPC64_CELL = 35 +UC_CPU_PPC_E5500 = 0 +UC_CPU_PPC_E6500 = 1 +UC_CPU_PPC_970_V2_2 = 2 +UC_CPU_PPC_970FX_V1_0 = 3 +UC_CPU_PPC_970FX_V2_0 = 4 +UC_CPU_PPC_970FX_V2_1 = 5 +UC_CPU_PPC_970FX_V3_0 = 6 +UC_CPU_PPC_970FX_V3_1 = 7 +UC_CPU_PPC_970MP_V1_0 = 8 +UC_CPU_PPC_970MP_V1_1 = 9 +UC_CPU_PPC_POWER5_V2_1 = 10 +UC_CPU_PPC_POWER7_V2_3 = 11 +UC_CPU_PPC_POWER7_V2_1 = 12 +UC_CPU_PPC_POWER8E_V2_1 = 13 +UC_CPU_PPC_POWER8_V2_0 = 14 +UC_CPU_PPC_POWER8NVL_V1_0 = 15 +UC_CPU_PPC_POWER9_V1_0 = 16 +UC_CPU_PPC_POWER9_V2_0 = 17 +UC_CPU_PPC_POWER10_V1_0 = 18 # PPC registers diff --git a/bindings/python/unicorn/unicorn_const.py b/bindings/python/unicorn/unicorn_const.py index 10a7ae51..0e1e6a22 100644 --- a/bindings/python/unicorn/unicorn_const.py +++ b/bindings/python/unicorn/unicorn_const.py @@ -78,6 +78,10 @@ UC_MEM_WRITE_PROT = 22 UC_MEM_READ_PROT = 23 UC_MEM_FETCH_PROT = 24 UC_MEM_READ_AFTER = 25 + +UC_TCG_OP_SUB = 0 +UC_TCG_OP_FLAG_CMP = 1 +UC_TCG_OP_FLAG_DIRECT = 2 UC_HOOK_INTR = 1 UC_HOOK_INSN = 2 UC_HOOK_CODE = 4 @@ -93,6 +97,8 @@ UC_HOOK_MEM_WRITE = 2048 UC_HOOK_MEM_FETCH = 4096 UC_HOOK_MEM_READ_AFTER = 8192 UC_HOOK_INSN_INVALID = 16384 +UC_HOOK_EDGE_GENERATED = 32768 +UC_HOOK_TCG_OPCODE = 65536 UC_HOOK_MEM_UNMAPPED = 112 UC_HOOK_MEM_PROT = 896 UC_HOOK_MEM_READ_INVALID = 144 @@ -114,10 +120,10 @@ UC_CTL_UC_MODE = 0 UC_CTL_UC_PAGE_SIZE = 1 UC_CTL_UC_ARCH = 2 UC_CTL_UC_TIMEOUT = 3 -UC_CTL_UC_EXITS_CNT = 4 -UC_CTL_UC_EXITS = 5 -UC_CTL_CPU_MODEL = 6 -UC_CTL_TB_EDGE = 7 +UC_CTL_UC_USE_EXITS = 4 +UC_CTL_UC_EXITS_CNT = 5 +UC_CTL_UC_EXITS = 6 +UC_CTL_CPU_MODEL = 7 UC_CTL_TB_REQUEST_CACHE = 8 UC_CTL_TB_REMOVE_CACHE = 9 diff --git a/bindings/ruby/unicorn_gem/lib/unicorn_engine/arm_const.rb b/bindings/ruby/unicorn_gem/lib/unicorn_engine/arm_const.rb index 66ad11bf..a5b6a666 100644 --- a/bindings/ruby/unicorn_gem/lib/unicorn_engine/arm_const.rb +++ b/bindings/ruby/unicorn_gem/lib/unicorn_engine/arm_const.rb @@ -16,9 +16,9 @@ module UnicornEngine UC_CPU_ARM_CORTEX_M33 = 11 UC_CPU_ARM_CORTEX_R5 = 12 UC_CPU_ARM_CORTEX_R5F = 13 - UC_CPU_ARM_CORTEX_A8 = 14 - UC_CPU_ARM_CORTEX_A9 = 15 - UC_CPU_ARM_CORTEX_A7 = 16 + UC_CPU_ARM_CORTEX_A7 = 14 + UC_CPU_ARM_CORTEX_A8 = 15 + UC_CPU_ARM_CORTEX_A9 = 16 UC_CPU_ARM_CORTEX_A15 = 17 UC_CPU_ARM_TI925T = 18 UC_CPU_ARM_SA1100 = 19 diff --git a/bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb b/bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb index 13920c06..105b00e2 100644 --- a/bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb +++ b/bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb @@ -2,35 +2,36 @@ module UnicornEngine - UC_CPU_MIPS_4KC = 0 - UC_CPU_MIPS_4KM = 1 - UC_CPU_MIPS_4KECR1 = 2 - UC_CPU_MIPS_4KEMR1 = 3 - UC_CPU_MIPS_4KEC = 4 - UC_CPU_MIPS_4KEM = 5 - UC_CPU_MIPS_24KC = 6 - UC_CPU_MIPS_24KEC = 7 - UC_CPU_MIPS_24KF = 8 - UC_CPU_MIPS_34KF = 9 - UC_CPU_MIPS_74KF = 10 - UC_CPU_MIPS_M14K = 11 - UC_CPU_MIPS_M14KC = 12 - UC_CPU_MIPS_P5600 = 13 - UC_CPU_MIPS_MIPS32R6_GENERIC = 14 - UC_CPU_MIPS_I7200 = 15 - UC_CPU_MIPS_R4000 = 16 - UC_CPU_MIPS_VR5432 = 17 - UC_CPU_MIPS_5KC = 18 - UC_CPU_MIPS_5KF = 19 - UC_CPU_MIPS_20KC = 20 - UC_CPU_MIPS_MIPS64R2_GENERIC = 21 - UC_CPU_MIPS_5KEC = 22 - UC_CPU_MIPS_5KEF = 23 - UC_CPU_MIPS_I6400 = 24 - UC_CPU_MIPS_I6500 = 25 - UC_CPU_MIPS_LOONGSON_2E = 26 - UC_CPU_MIPS_LOONGSON_2F = 27 - UC_CPU_MIPS_MIPS64DSPR2 = 28 + UC_CPU_MIPS32_4KC = 0 + UC_CPU_MIPS32_4KM = 1 + UC_CPU_MIPS32_4KECR1 = 2 + UC_CPU_MIPS32_4KEMR1 = 3 + UC_CPU_MIPS32_4KEC = 4 + UC_CPU_MIPS32_4KEM = 5 + UC_CPU_MIPS32_24KC = 6 + UC_CPU_MIPS32_24KEC = 7 + UC_CPU_MIPS32_24KF = 8 + UC_CPU_MIPS32_34KF = 9 + UC_CPU_MIPS32_74KF = 10 + UC_CPU_MIPS32_M14K = 11 + UC_CPU_MIPS32_M14KC = 12 + UC_CPU_MIPS32_P5600 = 13 + UC_CPU_MIPS32_MIPS32R6_GENERIC = 14 + UC_CPU_MIPS32_I7200 = 15 + + UC_CPU_MIPS64_R4000 = 0 + UC_CPU_MIPS64_VR5432 = 1 + UC_CPU_MIPS64_5KC = 2 + UC_CPU_MIPS64_5KF = 3 + UC_CPU_MIPS64_20KC = 4 + UC_CPU_MIPS64_MIPS64R2_GENERIC = 5 + UC_CPU_MIPS64_5KEC = 6 + UC_CPU_MIPS64_5KEF = 7 + UC_CPU_MIPS64_I6400 = 8 + UC_CPU_MIPS64_I6500 = 9 + UC_CPU_MIPS64_LOONGSON_2E = 10 + UC_CPU_MIPS64_LOONGSON_2F = 11 + UC_CPU_MIPS64_MIPS64DSPR2 = 12 # MIPS registers diff --git a/bindings/ruby/unicorn_gem/lib/unicorn_engine/ppc_const.rb b/bindings/ruby/unicorn_gem/lib/unicorn_engine/ppc_const.rb index 94748d5c..b6b5dd4c 100644 --- a/bindings/ruby/unicorn_gem/lib/unicorn_engine/ppc_const.rb +++ b/bindings/ruby/unicorn_gem/lib/unicorn_engine/ppc_const.rb @@ -2,306 +2,316 @@ module UnicornEngine - UC_CPU_PPC_401A1 = 0 - UC_CPU_PPC_401B2 = 1 - UC_CPU_PPC_401C2 = 2 - UC_CPU_PPC_401D2 = 3 - UC_CPU_PPC_401E2 = 4 - UC_CPU_PPC_401F2 = 5 - UC_CPU_PPC_401G2 = 6 - UC_CPU_PPC_COBRA = 7 - UC_CPU_PPC_403GA = 8 - UC_CPU_PPC_403GB = 9 - UC_CPU_PPC_403GC = 10 - UC_CPU_PPC_403GCX = 11 - UC_CPU_PPC_405D2 = 12 - UC_CPU_PPC_405D4 = 13 - UC_CPU_PPC_405CRA = 14 - UC_CPU_PPC_405CRB = 15 - UC_CPU_PPC_405CRC = 16 - UC_CPU_PPC_405EP = 17 - UC_CPU_PPC_405EZ = 18 - UC_CPU_PPC_405GPA = 19 - UC_CPU_PPC_405GPB = 20 - UC_CPU_PPC_405GPC = 21 - UC_CPU_PPC_405GPD = 22 - UC_CPU_PPC_405GPR = 23 - UC_CPU_PPC_405LP = 24 - UC_CPU_PPC_NPE405H = 25 - UC_CPU_PPC_NPE405H2 = 26 - UC_CPU_PPC_NPE405L = 27 - UC_CPU_PPC_NPE4GS3 = 28 - UC_CPU_PPC_STB03 = 29 - UC_CPU_PPC_STB04 = 30 - UC_CPU_PPC_STB25 = 31 - UC_CPU_PPC_X2VP4 = 32 - UC_CPU_PPC_440_XILINX = 33 - UC_CPU_PPC_440EPA = 34 - UC_CPU_PPC_440EPB = 35 - UC_CPU_PPC_440GPB = 36 - UC_CPU_PPC_440GPC = 37 - UC_CPU_PPC_440GRX = 38 - UC_CPU_PPC_440GXA = 39 - UC_CPU_PPC_440GXB = 40 - UC_CPU_PPC_440GXC = 41 - UC_CPU_PPC_440GXF = 42 - UC_CPU_PPC_440SP = 43 - UC_CPU_PPC_440SP2 = 44 - UC_CPU_PPC_440SPE = 45 - UC_CPU_PPC_460EXB = 46 - UC_CPU_PPC_MPC5XX = 47 - UC_CPU_PPC_MPC8XX = 48 - UC_CPU_PPC_G2 = 49 - UC_CPU_PPC_G2H4 = 50 - UC_CPU_PPC_G2GP = 51 - UC_CPU_PPC_G2LS = 52 - UC_CPU_PPC_MPC603 = 53 - UC_CPU_PPC_G2_HIP3 = 54 - UC_CPU_PPC_G2_HIP4 = 55 - UC_CPU_PPC_G2LE = 56 - UC_CPU_PPC_G2LEGP = 57 - UC_CPU_PPC_G2LELS = 58 - UC_CPU_PPC_G2LEGP1 = 59 - UC_CPU_PPC_G2LEGP3 = 60 - UC_CPU_PPC_E200Z5 = 61 - UC_CPU_PPC_E200Z6 = 62 - UC_CPU_PPC_E300C1 = 63 - UC_CPU_PPC_E300C2 = 64 - UC_CPU_PPC_E300C3 = 65 - UC_CPU_PPC_E300C4 = 66 - UC_CPU_PPC_E500V1_V10 = 67 - UC_CPU_PPC_E500V1_V20 = 68 - UC_CPU_PPC_E500V2_V10 = 69 - UC_CPU_PPC_E500V2_V11 = 70 - UC_CPU_PPC_E500V2_V20 = 71 - UC_CPU_PPC_E500V2_V21 = 72 - UC_CPU_PPC_E500V2_V22 = 73 - UC_CPU_PPC_E500V2_V30 = 74 - UC_CPU_PPC_E500MC = 75 - UC_CPU_PPC_E5500 = 76 - UC_CPU_PPC_E6500 = 77 - UC_CPU_PPC_E600 = 78 - UC_CPU_PPC_601_V0 = 79 - UC_CPU_PPC_601_V1 = 80 - UC_CPU_PPC_601_V2 = 81 - UC_CPU_PPC_602 = 82 - UC_CPU_PPC_603 = 83 - UC_CPU_PPC_603E_V11 = 84 - UC_CPU_PPC_603E_V12 = 85 - UC_CPU_PPC_603E_V13 = 86 - UC_CPU_PPC_603E_V14 = 87 - UC_CPU_PPC_603E_V22 = 88 - UC_CPU_PPC_603E_V3 = 89 - UC_CPU_PPC_603E_V4 = 90 - UC_CPU_PPC_603E_V41 = 91 - UC_CPU_PPC_603E7T = 92 - UC_CPU_PPC_603E7V = 93 - UC_CPU_PPC_603E7V1 = 94 - UC_CPU_PPC_603E7V2 = 95 - UC_CPU_PPC_603E7 = 96 - UC_CPU_PPC_603P = 97 - UC_CPU_PPC_604 = 98 - UC_CPU_PPC_604E_V10 = 99 - UC_CPU_PPC_604E_V22 = 100 - UC_CPU_PPC_604E_V24 = 101 - UC_CPU_PPC_604R = 102 - UC_CPU_PPC_7X0_V10 = 103 - UC_CPU_PPC_7X0_V20 = 104 - UC_CPU_PPC_7X0_V21 = 105 - UC_CPU_PPC_7X0_V22 = 106 - UC_CPU_PPC_7X0_V30 = 107 - UC_CPU_PPC_7X0_V31 = 108 - UC_CPU_PPC_740E = 109 - UC_CPU_PPC_750E = 110 - UC_CPU_PPC_7X0P = 111 - UC_CPU_PPC_750CL_V10 = 112 - UC_CPU_PPC_750CL_V20 = 113 - UC_CPU_PPC_750CX_V10 = 114 - UC_CPU_PPC_750CX_V20 = 115 - UC_CPU_PPC_750CX_V21 = 116 - UC_CPU_PPC_750CX_V22 = 117 - UC_CPU_PPC_750CXE_V21 = 118 - UC_CPU_PPC_750CXE_V22 = 119 - UC_CPU_PPC_750CXE_V23 = 120 - UC_CPU_PPC_750CXE_V24 = 121 - UC_CPU_PPC_750CXE_V24B = 122 - UC_CPU_PPC_750CXE_V30 = 123 - UC_CPU_PPC_750CXE_V31 = 124 - UC_CPU_PPC_750CXE_V31B = 125 - UC_CPU_PPC_750CXR = 126 - UC_CPU_PPC_750FL = 127 - UC_CPU_PPC_750FX_V10 = 128 - UC_CPU_PPC_750FX_V20 = 129 - UC_CPU_PPC_750FX_V21 = 130 - UC_CPU_PPC_750FX_V22 = 131 - UC_CPU_PPC_750FX_V23 = 132 - UC_CPU_PPC_750GL = 133 - UC_CPU_PPC_750GX_V10 = 134 - UC_CPU_PPC_750GX_V11 = 135 - UC_CPU_PPC_750GX_V12 = 136 - UC_CPU_PPC_750L_V20 = 137 - UC_CPU_PPC_750L_V21 = 138 - UC_CPU_PPC_750L_V22 = 139 - UC_CPU_PPC_750L_V30 = 140 - UC_CPU_PPC_750L_V32 = 141 - UC_CPU_PPC_7X5_V10 = 142 - UC_CPU_PPC_7X5_V11 = 143 - UC_CPU_PPC_7X5_V20 = 144 - UC_CPU_PPC_7X5_V21 = 145 - UC_CPU_PPC_7X5_V22 = 146 - UC_CPU_PPC_7X5_V23 = 147 - UC_CPU_PPC_7X5_V24 = 148 - UC_CPU_PPC_7X5_V25 = 149 - UC_CPU_PPC_7X5_V26 = 150 - UC_CPU_PPC_7X5_V27 = 151 - UC_CPU_PPC_7X5_V28 = 152 - UC_CPU_PPC_7400_V10 = 153 - UC_CPU_PPC_7400_V11 = 154 - UC_CPU_PPC_7400_V20 = 155 - UC_CPU_PPC_7400_V21 = 156 - UC_CPU_PPC_7400_V22 = 157 - UC_CPU_PPC_7400_V26 = 158 - UC_CPU_PPC_7400_V27 = 159 - UC_CPU_PPC_7400_V28 = 160 - UC_CPU_PPC_7400_V29 = 161 - UC_CPU_PPC_7410_V10 = 162 - UC_CPU_PPC_7410_V11 = 163 - UC_CPU_PPC_7410_V12 = 164 - UC_CPU_PPC_7410_V13 = 165 - UC_CPU_PPC_7410_V14 = 166 - UC_CPU_PPC_7448_V10 = 167 - UC_CPU_PPC_7448_V11 = 168 - UC_CPU_PPC_7448_V20 = 169 - UC_CPU_PPC_7448_V21 = 170 - UC_CPU_PPC_7450_V10 = 171 - UC_CPU_PPC_7450_V11 = 172 - UC_CPU_PPC_7450_V12 = 173 - UC_CPU_PPC_7450_V20 = 174 - UC_CPU_PPC_7450_V21 = 175 - UC_CPU_PPC_74X1_V23 = 176 - UC_CPU_PPC_74X1_V210 = 177 - UC_CPU_PPC_74X5_V10 = 178 - UC_CPU_PPC_74X5_V21 = 179 - UC_CPU_PPC_74X5_V32 = 180 - UC_CPU_PPC_74X5_V33 = 181 - UC_CPU_PPC_74X5_V34 = 182 - UC_CPU_PPC_74X7_V10 = 183 - UC_CPU_PPC_74X7_V11 = 184 - UC_CPU_PPC_74X7_V12 = 185 - UC_CPU_PPC_74X7A_V10 = 186 - UC_CPU_PPC_74X7A_V11 = 187 - UC_CPU_PPC_74X7A_V12 = 188 - UC_CPU_PPC_IOP480 = 1 - UC_CPU_PPC_X2VP20 = 42 - UC_CPU_PPC_440GRA = 35 - UC_CPU_PPC_440EPX = 38 - UC_CPU_PPC_MPC5200_V10 = 59 - UC_CPU_PPC_MPC5200_V11 = 59 - UC_CPU_PPC_MPC5200_V12 = 59 - UC_CPU_PPC_MPC5200B_V20 = 59 - UC_CPU_PPC_MPC5200B_V21 = 59 - UC_CPU_PPC_MPC834X = 63 - UC_CPU_PPC_MPC837X = 66 - UC_CPU_PPC_E500 = 73 - UC_CPU_PPC_MPC8533_V10 = 72 - UC_CPU_PPC_MPC8533_V11 = 73 - UC_CPU_PPC_MPC8533E_V10 = 72 - UC_CPU_PPC_MPC8533E_V11 = 73 - UC_CPU_PPC_MPC8540_V10 = 67 - UC_CPU_PPC_MPC8540_V20 = 68 - UC_CPU_PPC_MPC8540_V21 = 68 - UC_CPU_PPC_MPC8541_V10 = 68 - UC_CPU_PPC_MPC8541_V11 = 68 - UC_CPU_PPC_MPC8541E_V10 = 68 - UC_CPU_PPC_MPC8541E_V11 = 68 - UC_CPU_PPC_MPC8543_V10 = 69 - UC_CPU_PPC_MPC8543_V11 = 70 - UC_CPU_PPC_MPC8543_V20 = 71 - UC_CPU_PPC_MPC8543_V21 = 72 - UC_CPU_PPC_MPC8543E_V10 = 69 - UC_CPU_PPC_MPC8543E_V11 = 70 - UC_CPU_PPC_MPC8543E_V20 = 71 - UC_CPU_PPC_MPC8543E_V21 = 72 - UC_CPU_PPC_MPC8544_V10 = 72 - UC_CPU_PPC_MPC8544_V11 = 73 - UC_CPU_PPC_MPC8544E_V11 = 73 - UC_CPU_PPC_MPC8544E_V10 = 72 - UC_CPU_PPC_MPC8545_V10 = 69 - UC_CPU_PPC_MPC8545_V20 = 71 - UC_CPU_PPC_MPC8545_V21 = 72 - UC_CPU_PPC_MPC8545E_V10 = 69 - UC_CPU_PPC_MPC8545E_V20 = 71 - UC_CPU_PPC_MPC8545E_V21 = 72 - UC_CPU_PPC_MPC8547E_V10 = 69 - UC_CPU_PPC_MPC8547E_V20 = 71 - UC_CPU_PPC_MPC8547E_V21 = 72 - UC_CPU_PPC_MPC8548_V10 = 69 - UC_CPU_PPC_MPC8548_V11 = 70 - UC_CPU_PPC_MPC8548_V20 = 71 - UC_CPU_PPC_MPC8548_V21 = 72 - UC_CPU_PPC_MPC8548E_V10 = 69 - UC_CPU_PPC_MPC8548E_V11 = 70 - UC_CPU_PPC_MPC8548E_V20 = 71 - UC_CPU_PPC_MPC8548E_V21 = 72 - UC_CPU_PPC_MPC8555_V10 = 69 - UC_CPU_PPC_MPC8555_V11 = 70 - UC_CPU_PPC_MPC8555E_V10 = 69 - UC_CPU_PPC_MPC8555E_V11 = 70 - UC_CPU_PPC_MPC8560_V10 = 69 - UC_CPU_PPC_MPC8560_V20 = 71 - UC_CPU_PPC_MPC8560_V21 = 72 - UC_CPU_PPC_MPC8567 = 73 - UC_CPU_PPC_MPC8567E = 73 - UC_CPU_PPC_MPC8568 = 73 - UC_CPU_PPC_MPC8568E = 73 - UC_CPU_PPC_MPC8572 = 74 - UC_CPU_PPC_MPC8572E = 74 - UC_CPU_PPC_MPC8610 = 78 - UC_CPU_PPC_MPC8641 = 78 - UC_CPU_PPC_MPC8641D = 78 + UC_CPU_PPC_401 = 0 + UC_CPU_PPC_401A1 = 1 + UC_CPU_PPC_401B2 = 2 + UC_CPU_PPC_401C2 = 3 + UC_CPU_PPC_401D2 = 4 + UC_CPU_PPC_401E2 = 5 + UC_CPU_PPC_401F2 = 6 + UC_CPU_PPC_401G2 = 7 + UC_CPU_PPC_IOP480 = 8 + UC_CPU_PPC_COBRA = 9 + UC_CPU_PPC_403GA = 10 + UC_CPU_PPC_403GB = 11 + UC_CPU_PPC_403GC = 12 + UC_CPU_PPC_403GCX = 13 + UC_CPU_PPC_405D2 = 14 + UC_CPU_PPC_405D4 = 15 + UC_CPU_PPC_405CRA = 16 + UC_CPU_PPC_405CRB = 17 + UC_CPU_PPC_405CRC = 18 + UC_CPU_PPC_405EP = 19 + UC_CPU_PPC_405EZ = 20 + UC_CPU_PPC_405GPA = 21 + UC_CPU_PPC_405GPB = 22 + UC_CPU_PPC_405GPC = 23 + UC_CPU_PPC_405GPD = 24 + UC_CPU_PPC_405GPR = 25 + UC_CPU_PPC_405LP = 26 + UC_CPU_PPC_NPE405H = 27 + UC_CPU_PPC_NPE405H2 = 28 + UC_CPU_PPC_NPE405L = 29 + UC_CPU_PPC_NPE4GS3 = 30 + UC_CPU_PPC_STB03 = 31 + UC_CPU_PPC_STB04 = 32 + UC_CPU_PPC_STB25 = 33 + UC_CPU_PPC_X2VP4 = 34 + UC_CPU_PPC_X2VP20 = 35 + UC_CPU_PPC_440_XILINX = 36 + UC_CPU_PPC_440_XILINX_W_DFPU = 37 + UC_CPU_PPC_440EPA = 38 + UC_CPU_PPC_440EPB = 39 + UC_CPU_PPC_440EPX = 40 + UC_CPU_PPC_460EXB = 41 + UC_CPU_PPC_G2 = 42 + UC_CPU_PPC_G2H4 = 43 + UC_CPU_PPC_G2GP = 44 + UC_CPU_PPC_G2LS = 45 + UC_CPU_PPC_G2HIP3 = 46 + UC_CPU_PPC_G2HIP4 = 47 + UC_CPU_PPC_MPC603 = 48 + UC_CPU_PPC_G2LE = 49 + UC_CPU_PPC_G2LEGP = 50 + UC_CPU_PPC_G2LELS = 51 + UC_CPU_PPC_G2LEGP1 = 52 + UC_CPU_PPC_G2LEGP3 = 53 + UC_CPU_PPC_MPC5200_V10 = 54 + UC_CPU_PPC_MPC5200_V11 = 55 + UC_CPU_PPC_MPC5200_V12 = 56 + UC_CPU_PPC_MPC5200B_V20 = 57 + UC_CPU_PPC_MPC5200B_V21 = 58 + UC_CPU_PPC_E200Z5 = 59 + UC_CPU_PPC_E200Z6 = 60 + UC_CPU_PPC_E300C1 = 61 + UC_CPU_PPC_E300C2 = 62 + UC_CPU_PPC_E300C3 = 63 + UC_CPU_PPC_E300C4 = 64 + UC_CPU_PPC_MPC8343 = 65 + UC_CPU_PPC_MPC8343A = 66 + UC_CPU_PPC_MPC8343E = 67 + UC_CPU_PPC_MPC8343EA = 68 + UC_CPU_PPC_MPC8347T = 69 + UC_CPU_PPC_MPC8347P = 70 + UC_CPU_PPC_MPC8347AT = 71 + UC_CPU_PPC_MPC8347AP = 72 + UC_CPU_PPC_MPC8347ET = 73 + UC_CPU_PPC_MPC8347EP = 74 + UC_CPU_PPC_MPC8347EAT = 75 + UC_CPU_PPC_MPC8347EAP = 76 + UC_CPU_PPC_MPC8349 = 77 + UC_CPU_PPC_MPC8349A = 78 + UC_CPU_PPC_MPC8349E = 79 + UC_CPU_PPC_MPC8349EA = 80 + UC_CPU_PPC_MPC8377 = 81 + UC_CPU_PPC_MPC8377E = 82 + UC_CPU_PPC_MPC8378 = 83 + UC_CPU_PPC_MPC8378E = 84 + UC_CPU_PPC_MPC8379 = 85 + UC_CPU_PPC_MPC8379E = 86 + UC_CPU_PPC_E500_V10 = 87 + UC_CPU_PPC_E500_V20 = 88 + UC_CPU_PPC_E500V2_V10 = 89 + UC_CPU_PPC_E500V2_V20 = 90 + UC_CPU_PPC_E500V2_V21 = 91 + UC_CPU_PPC_E500V2_V22 = 92 + UC_CPU_PPC_E500V2_V30 = 93 + UC_CPU_PPC_E500MC = 94 + UC_CPU_PPC_MPC8533_V10 = 95 + UC_CPU_PPC_MPC8533_V11 = 96 + UC_CPU_PPC_MPC8533E_V10 = 97 + UC_CPU_PPC_MPC8533E_V11 = 98 + UC_CPU_PPC_MPC8540_V10 = 99 + UC_CPU_PPC_MPC8540_V20 = 100 + UC_CPU_PPC_MPC8540_V21 = 101 + UC_CPU_PPC_MPC8541_V10 = 102 + UC_CPU_PPC_MPC8541_V11 = 103 + UC_CPU_PPC_MPC8541E_V10 = 104 + UC_CPU_PPC_MPC8541E_V11 = 105 + UC_CPU_PPC_MPC8543_V10 = 106 + UC_CPU_PPC_MPC8543_V11 = 107 + UC_CPU_PPC_MPC8543_V20 = 108 + UC_CPU_PPC_MPC8543_V21 = 109 + UC_CPU_PPC_MPC8543E_V10 = 110 + UC_CPU_PPC_MPC8543E_V11 = 111 + UC_CPU_PPC_MPC8543E_V20 = 112 + UC_CPU_PPC_MPC8543E_V21 = 113 + UC_CPU_PPC_MPC8544_V10 = 114 + UC_CPU_PPC_MPC8544_V11 = 115 + UC_CPU_PPC_MPC8544E_V10 = 116 + UC_CPU_PPC_MPC8544E_V11 = 117 + UC_CPU_PPC_MPC8545_V20 = 118 + UC_CPU_PPC_MPC8545_V21 = 119 + UC_CPU_PPC_MPC8545E_V20 = 120 + UC_CPU_PPC_MPC8545E_V21 = 121 + UC_CPU_PPC_MPC8547E_V20 = 122 + UC_CPU_PPC_MPC8547E_V21 = 123 + UC_CPU_PPC_MPC8548_V10 = 124 + UC_CPU_PPC_MPC8548_V11 = 125 + UC_CPU_PPC_MPC8548_V20 = 126 + UC_CPU_PPC_MPC8548_V21 = 127 + UC_CPU_PPC_MPC8548E_V10 = 128 + UC_CPU_PPC_MPC8548E_V11 = 129 + UC_CPU_PPC_MPC8548E_V20 = 130 + UC_CPU_PPC_MPC8548E_V21 = 131 + UC_CPU_PPC_MPC8555_V10 = 132 + UC_CPU_PPC_MPC8555_V11 = 133 + UC_CPU_PPC_MPC8555E_V10 = 134 + UC_CPU_PPC_MPC8555E_V11 = 135 + UC_CPU_PPC_MPC8560_V10 = 136 + UC_CPU_PPC_MPC8560_V20 = 137 + UC_CPU_PPC_MPC8560_V21 = 138 + UC_CPU_PPC_MPC8567 = 139 + UC_CPU_PPC_MPC8567E = 140 + UC_CPU_PPC_MPC8568 = 141 + UC_CPU_PPC_MPC8568E = 142 + UC_CPU_PPC_MPC8572 = 143 + UC_CPU_PPC_MPC8572E = 144 + UC_CPU_PPC_E600 = 145 + UC_CPU_PPC_MPC8610 = 146 + UC_CPU_PPC_MPC8641 = 147 + UC_CPU_PPC_MPC8641D = 148 + UC_CPU_PPC_601_V0 = 149 + UC_CPU_PPC_601_V1 = 150 + UC_CPU_PPC_601_V2 = 151 + UC_CPU_PPC_602 = 152 + UC_CPU_PPC_603 = 153 + UC_CPU_PPC_603E_V1_1 = 154 + UC_CPU_PPC_603E_V1_2 = 155 + UC_CPU_PPC_603E_V1_3 = 156 + UC_CPU_PPC_603E_V1_4 = 157 + UC_CPU_PPC_603E_V2_2 = 158 + UC_CPU_PPC_603E_V3 = 159 + UC_CPU_PPC_603E_V4 = 160 + UC_CPU_PPC_603E_V4_1 = 161 + UC_CPU_PPC_603E7 = 162 + UC_CPU_PPC_603E7T = 163 + UC_CPU_PPC_603E7V = 164 + UC_CPU_PPC_603E7V1 = 165 + UC_CPU_PPC_603E7V2 = 166 + UC_CPU_PPC_603P = 167 + UC_CPU_PPC_604 = 168 + UC_CPU_PPC_604E_V1_0 = 169 + UC_CPU_PPC_604E_V2_2 = 170 + UC_CPU_PPC_604E_V2_4 = 171 + UC_CPU_PPC_604R = 172 + UC_CPU_PPC_740_V1_0 = 173 + UC_CPU_PPC_750_V1_0 = 174 + UC_CPU_PPC_740_V2_0 = 175 + UC_CPU_PPC_750_V2_0 = 176 + UC_CPU_PPC_740_V2_1 = 177 + UC_CPU_PPC_750_V2_1 = 178 + UC_CPU_PPC_740_V2_2 = 179 + UC_CPU_PPC_750_V2_2 = 180 + UC_CPU_PPC_740_V3_0 = 181 + UC_CPU_PPC_750_V3_0 = 182 + UC_CPU_PPC_740_V3_1 = 183 + UC_CPU_PPC_750_V3_1 = 184 + UC_CPU_PPC_740E = 185 + UC_CPU_PPC_750E = 186 + UC_CPU_PPC_740P = 187 + UC_CPU_PPC_750P = 188 + UC_CPU_PPC_750CL_V1_0 = 189 + UC_CPU_PPC_750CL_V2_0 = 190 + UC_CPU_PPC_750CX_V1_0 = 191 + UC_CPU_PPC_750CX_V2_0 = 192 + UC_CPU_PPC_750CX_V2_1 = 193 + UC_CPU_PPC_750CX_V2_2 = 194 + UC_CPU_PPC_750CXE_V2_1 = 195 + UC_CPU_PPC_750CXE_V2_2 = 196 + UC_CPU_PPC_750CXE_V2_3 = 197 + UC_CPU_PPC_750CXE_V2_4 = 198 + UC_CPU_PPC_750CXE_V2_4B = 199 + UC_CPU_PPC_750CXE_V3_0 = 200 + UC_CPU_PPC_750CXE_V3_1 = 201 + UC_CPU_PPC_750CXE_V3_1B = 202 + UC_CPU_PPC_750CXR = 203 + UC_CPU_PPC_750FL = 204 + UC_CPU_PPC_750FX_V1_0 = 205 + UC_CPU_PPC_750FX_V2_0 = 206 + UC_CPU_PPC_750FX_V2_1 = 207 + UC_CPU_PPC_750FX_V2_2 = 208 + UC_CPU_PPC_750FX_V2_3 = 209 + UC_CPU_PPC_750GL = 210 + UC_CPU_PPC_750GX_V1_0 = 211 + UC_CPU_PPC_750GX_V1_1 = 212 + UC_CPU_PPC_750GX_V1_2 = 213 + UC_CPU_PPC_750L_V2_0 = 214 + UC_CPU_PPC_750L_V2_1 = 215 + UC_CPU_PPC_750L_V2_2 = 216 + UC_CPU_PPC_750L_V3_0 = 217 + UC_CPU_PPC_750L_V3_2 = 218 + UC_CPU_PPC_745_V1_0 = 219 + UC_CPU_PPC_755_V1_0 = 220 + UC_CPU_PPC_745_V1_1 = 221 + UC_CPU_PPC_755_V1_1 = 222 + UC_CPU_PPC_745_V2_0 = 223 + UC_CPU_PPC_755_V2_0 = 224 + UC_CPU_PPC_745_V2_1 = 225 + UC_CPU_PPC_755_V2_1 = 226 + UC_CPU_PPC_745_V2_2 = 227 + UC_CPU_PPC_755_V2_2 = 228 + UC_CPU_PPC_745_V2_3 = 229 + UC_CPU_PPC_755_V2_3 = 230 + UC_CPU_PPC_745_V2_4 = 231 + UC_CPU_PPC_755_V2_4 = 232 + UC_CPU_PPC_745_V2_5 = 233 + UC_CPU_PPC_755_V2_5 = 234 + UC_CPU_PPC_745_V2_6 = 235 + UC_CPU_PPC_755_V2_6 = 236 + UC_CPU_PPC_745_V2_7 = 237 + UC_CPU_PPC_755_V2_7 = 238 + UC_CPU_PPC_745_V2_8 = 239 + UC_CPU_PPC_755_V2_8 = 240 + UC_CPU_PPC_7400_V1_0 = 241 + UC_CPU_PPC_7400_V1_1 = 242 + UC_CPU_PPC_7400_V2_0 = 243 + UC_CPU_PPC_7400_V2_1 = 244 + UC_CPU_PPC_7400_V2_2 = 245 + UC_CPU_PPC_7400_V2_6 = 246 + UC_CPU_PPC_7400_V2_7 = 247 + UC_CPU_PPC_7400_V2_8 = 248 + UC_CPU_PPC_7400_V2_9 = 249 + UC_CPU_PPC_7410_V1_0 = 250 + UC_CPU_PPC_7410_V1_1 = 251 + UC_CPU_PPC_7410_V1_2 = 252 + UC_CPU_PPC_7410_V1_3 = 253 + UC_CPU_PPC_7410_V1_4 = 254 + UC_CPU_PPC_7448_V1_0 = 255 + UC_CPU_PPC_7448_V1_1 = 256 + UC_CPU_PPC_7448_V2_0 = 257 + UC_CPU_PPC_7448_V2_1 = 258 + UC_CPU_PPC_7450_V1_0 = 259 + UC_CPU_PPC_7450_V1_1 = 260 + UC_CPU_PPC_7450_V1_2 = 261 + UC_CPU_PPC_7450_V2_0 = 262 + UC_CPU_PPC_7450_V2_1 = 263 + UC_CPU_PPC_7441_V2_1 = 264 + UC_CPU_PPC_7441_V2_3 = 265 + UC_CPU_PPC_7451_V2_3 = 266 + UC_CPU_PPC_7441_V2_10 = 267 + UC_CPU_PPC_7451_V2_10 = 268 + UC_CPU_PPC_7445_V1_0 = 269 + UC_CPU_PPC_7455_V1_0 = 270 + UC_CPU_PPC_7445_V2_1 = 271 + UC_CPU_PPC_7455_V2_1 = 272 + UC_CPU_PPC_7445_V3_2 = 273 + UC_CPU_PPC_7455_V3_2 = 274 + UC_CPU_PPC_7445_V3_3 = 275 + UC_CPU_PPC_7455_V3_3 = 276 + UC_CPU_PPC_7445_V3_4 = 277 + UC_CPU_PPC_7455_V3_4 = 278 + UC_CPU_PPC_7447_V1_0 = 279 + UC_CPU_PPC_7457_V1_0 = 280 + UC_CPU_PPC_7447_V1_1 = 281 + UC_CPU_PPC_7457_V1_1 = 282 + UC_CPU_PPC_7457_V1_2 = 283 + UC_CPU_PPC_7447A_V1_0 = 284 + UC_CPU_PPC_7457A_V1_0 = 285 + UC_CPU_PPC_7447A_V1_1 = 286 + UC_CPU_PPC_7457A_V1_1 = 287 + UC_CPU_PPC_7447A_V1_2 = 288 + UC_CPU_PPC_7457A_V1_2 = 289 - UC_CPU_PPC64_620 = 0 - UC_CPU_PPC64_630 = 1 - UC_CPU_PPC64_631 = 2 - UC_CPU_PPC64_POWER4 = 3 - UC_CPU_PPC64_POWER4P = 4 - UC_CPU_PPC64_POWER5 = 5 - UC_CPU_PPC64_POWER5P_V21 = 6 - UC_CPU_PPC64_POWER6 = 7 - UC_CPU_PPC64_POWER_SERVER_MASK = 8 - UC_CPU_PPC64_POWER7_BASE = 9 - UC_CPU_PPC64_POWER7_V23 = 10 - UC_CPU_PPC64_POWER7P_BASE = 11 - UC_CPU_PPC64_POWER7P_V21 = 12 - UC_CPU_PPC64_POWER8E_BASE = 13 - UC_CPU_PPC64_POWER8E_V21 = 14 - UC_CPU_PPC64_POWER8_BASE = 15 - UC_CPU_PPC64_POWER8_V20 = 16 - UC_CPU_PPC64_POWER8NVL_BASE = 17 - UC_CPU_PPC64_POWER8NVL_V10 = 18 - UC_CPU_PPC64_POWER9_BASE = 19 - UC_CPU_PPC64_POWER9_DD1 = 20 - UC_CPU_PPC64_POWER9_DD20 = 21 - UC_CPU_PPC64_POWER10_BASE = 22 - UC_CPU_PPC64_POWER10_DD1 = 23 - UC_CPU_PPC64_970_V22 = 24 - UC_CPU_PPC64_970FX_V10 = 25 - UC_CPU_PPC64_970FX_V20 = 26 - UC_CPU_PPC64_970FX_V21 = 27 - UC_CPU_PPC64_970FX_V30 = 28 - UC_CPU_PPC64_970FX_V31 = 29 - UC_CPU_PPC64_970MP_V10 = 30 - UC_CPU_PPC64_970MP_V11 = 31 - UC_CPU_PPC64_CELL_V10 = 32 - UC_CPU_PPC64_CELL_V20 = 33 - UC_CPU_PPC64_CELL_V30 = 34 - UC_CPU_PPC64_CELL_V31 = 35 - UC_CPU_PPC64_RS64 = 36 - UC_CPU_PPC64_RS64II = 37 - UC_CPU_PPC64_RS64III = 38 - UC_CPU_PPC64_RS64IV = 39 - UC_CPU_PPC64_CELL_V32 = 35 - UC_CPU_PPC64_CELL = 35 + UC_CPU_PPC_E5500 = 0 + UC_CPU_PPC_E6500 = 1 + UC_CPU_PPC_970_V2_2 = 2 + UC_CPU_PPC_970FX_V1_0 = 3 + UC_CPU_PPC_970FX_V2_0 = 4 + UC_CPU_PPC_970FX_V2_1 = 5 + UC_CPU_PPC_970FX_V3_0 = 6 + UC_CPU_PPC_970FX_V3_1 = 7 + UC_CPU_PPC_970MP_V1_0 = 8 + UC_CPU_PPC_970MP_V1_1 = 9 + UC_CPU_PPC_POWER5_V2_1 = 10 + UC_CPU_PPC_POWER7_V2_3 = 11 + UC_CPU_PPC_POWER7_V2_1 = 12 + UC_CPU_PPC_POWER8E_V2_1 = 13 + UC_CPU_PPC_POWER8_V2_0 = 14 + UC_CPU_PPC_POWER8NVL_V1_0 = 15 + UC_CPU_PPC_POWER9_V1_0 = 16 + UC_CPU_PPC_POWER9_V2_0 = 17 + UC_CPU_PPC_POWER10_V1_0 = 18 # PPC registers diff --git a/bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb b/bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb index b179d3eb..6c22c744 100644 --- a/bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb +++ b/bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb @@ -80,6 +80,10 @@ module UnicornEngine UC_MEM_READ_PROT = 23 UC_MEM_FETCH_PROT = 24 UC_MEM_READ_AFTER = 25 + + UC_TCG_OP_SUB = 0 + UC_TCG_OP_FLAG_CMP = 1 + UC_TCG_OP_FLAG_DIRECT = 2 UC_HOOK_INTR = 1 UC_HOOK_INSN = 2 UC_HOOK_CODE = 4 @@ -95,6 +99,8 @@ module UnicornEngine UC_HOOK_MEM_FETCH = 4096 UC_HOOK_MEM_READ_AFTER = 8192 UC_HOOK_INSN_INVALID = 16384 + UC_HOOK_EDGE_GENERATED = 32768 + UC_HOOK_TCG_OPCODE = 65536 UC_HOOK_MEM_UNMAPPED = 112 UC_HOOK_MEM_PROT = 896 UC_HOOK_MEM_READ_INVALID = 144 @@ -116,10 +122,10 @@ module UnicornEngine UC_CTL_UC_PAGE_SIZE = 1 UC_CTL_UC_ARCH = 2 UC_CTL_UC_TIMEOUT = 3 - UC_CTL_UC_EXITS_CNT = 4 - UC_CTL_UC_EXITS = 5 - UC_CTL_CPU_MODEL = 6 - UC_CTL_TB_EDGE = 7 + UC_CTL_UC_USE_EXITS = 4 + UC_CTL_UC_EXITS_CNT = 5 + UC_CTL_UC_EXITS = 6 + UC_CTL_CPU_MODEL = 7 UC_CTL_TB_REQUEST_CACHE = 8 UC_CTL_TB_REMOVE_CACHE = 9