File tree Expand file tree Collapse file tree 15 files changed +82
-52
lines changed
dotnet/UnicornEngine/Const
java/src/main/java/unicorn
ruby/unicorn_gem/lib/unicorn_engine Expand file tree Collapse file tree 15 files changed +82
-52
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ module Mips =
4141 let UC_CPU_MIPS64_I6500 = 9
4242 let UC_CPU_MIPS64_LOONGSON_2E = 10
4343 let UC_CPU_MIPS64_LOONGSON_2F = 11
44- let UC_CPU_MIPS64_MIPS64DSPR2 = 12
45- let UC_CPU_MIPS64_ENDING = 13
44+ let UC_CPU_MIPS64_LOONGSON_3A1000 = 12
45+ let UC_CPU_MIPS64_LOONGSON_3A4000 = 13
46+ let UC_CPU_MIPS64_MIPS64DSPR2 = 14
47+ let UC_CPU_MIPS64_ENDING = 15
4648
4749 // MIPS registers
4850
Original file line number Diff line number Diff line change @@ -10,15 +10,17 @@ module Riscv =
1010 // RISCV32 CPU
1111
1212 let UC_CPU_RISCV32_ANY = 0
13- let UC_CPU_RISCV32_BASE32 = 1
14- let UC_CPU_RISCV32_SIFIVE_E31 = 2
15- let UC_CPU_RISCV32_SIFIVE_U34 = 3
16- let UC_CPU_RISCV32_ENDING = 4
13+ let UC_CPU_RISCV32_BASE = 1
14+ let UC_CPU_RISCV32_IBEX = 2
15+ let UC_CPU_RISCV32_SIFIVE_E31 = 3
16+ let UC_CPU_RISCV32_SIFIVE_E34 = 4
17+ let UC_CPU_RISCV32_SIFIVE_U34 = 5
18+ let UC_CPU_RISCV32_ENDING = 6
1719
1820 // RISCV64 CPU
1921
2022 let UC_CPU_RISCV64_ANY = 0
21- let UC_CPU_RISCV64_BASE64 = 1
23+ let UC_CPU_RISCV64_BASE = 1
2224 let UC_CPU_RISCV64_SIFIVE_E51 = 2
2325 let UC_CPU_RISCV64_SIFIVE_U54 = 3
2426 let UC_CPU_RISCV64_ENDING = 4
Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ const (
3636 CPU_MIPS64_I6500 = 9
3737 CPU_MIPS64_LOONGSON_2E = 10
3838 CPU_MIPS64_LOONGSON_2F = 11
39- CPU_MIPS64_MIPS64DSPR2 = 12
40- CPU_MIPS64_ENDING = 13
39+ CPU_MIPS64_LOONGSON_3A1000 = 12
40+ CPU_MIPS64_LOONGSON_3A4000 = 13
41+ CPU_MIPS64_MIPS64DSPR2 = 14
42+ CPU_MIPS64_ENDING = 15
4143
4244// MIPS registers
4345
Original file line number Diff line number Diff line change @@ -5,15 +5,17 @@ const (
55// RISCV32 CPU
66
77 CPU_RISCV32_ANY = 0
8- CPU_RISCV32_BASE32 = 1
9- CPU_RISCV32_SIFIVE_E31 = 2
10- CPU_RISCV32_SIFIVE_U34 = 3
11- CPU_RISCV32_ENDING = 4
8+ CPU_RISCV32_BASE = 1
9+ CPU_RISCV32_IBEX = 2
10+ CPU_RISCV32_SIFIVE_E31 = 3
11+ CPU_RISCV32_SIFIVE_E34 = 4
12+ CPU_RISCV32_SIFIVE_U34 = 5
13+ CPU_RISCV32_ENDING = 6
1214
1315// RISCV64 CPU
1416
1517 CPU_RISCV64_ANY = 0
16- CPU_RISCV64_BASE64 = 1
18+ CPU_RISCV64_BASE = 1
1719 CPU_RISCV64_SIFIVE_E51 = 2
1820 CPU_RISCV64_SIFIVE_U54 = 3
1921 CPU_RISCV64_ENDING = 4
Original file line number Diff line number Diff line change @@ -38,8 +38,10 @@ public interface MipsConst {
3838 public static final int UC_CPU_MIPS64_I6500 = 9 ;
3939 public static final int UC_CPU_MIPS64_LOONGSON_2E = 10 ;
4040 public static final int UC_CPU_MIPS64_LOONGSON_2F = 11 ;
41- public static final int UC_CPU_MIPS64_MIPS64DSPR2 = 12 ;
42- public static final int UC_CPU_MIPS64_ENDING = 13 ;
41+ public static final int UC_CPU_MIPS64_LOONGSON_3A1000 = 12 ;
42+ public static final int UC_CPU_MIPS64_LOONGSON_3A4000 = 13 ;
43+ public static final int UC_CPU_MIPS64_MIPS64DSPR2 = 14 ;
44+ public static final int UC_CPU_MIPS64_ENDING = 15 ;
4345
4446 // MIPS registers
4547
Original file line number Diff line number Diff line change @@ -7,15 +7,17 @@ public interface RiscvConst {
77 // RISCV32 CPU
88
99 public static final int UC_CPU_RISCV32_ANY = 0 ;
10- public static final int UC_CPU_RISCV32_BASE32 = 1 ;
11- public static final int UC_CPU_RISCV32_SIFIVE_E31 = 2 ;
12- public static final int UC_CPU_RISCV32_SIFIVE_U34 = 3 ;
13- public static final int UC_CPU_RISCV32_ENDING = 4 ;
10+ public static final int UC_CPU_RISCV32_BASE = 1 ;
11+ public static final int UC_CPU_RISCV32_IBEX = 2 ;
12+ public static final int UC_CPU_RISCV32_SIFIVE_E31 = 3 ;
13+ public static final int UC_CPU_RISCV32_SIFIVE_E34 = 4 ;
14+ public static final int UC_CPU_RISCV32_SIFIVE_U34 = 5 ;
15+ public static final int UC_CPU_RISCV32_ENDING = 6 ;
1416
1517 // RISCV64 CPU
1618
1719 public static final int UC_CPU_RISCV64_ANY = 0 ;
18- public static final int UC_CPU_RISCV64_BASE64 = 1 ;
20+ public static final int UC_CPU_RISCV64_BASE = 1 ;
1921 public static final int UC_CPU_RISCV64_SIFIVE_E51 = 2 ;
2022 public static final int UC_CPU_RISCV64_SIFIVE_U54 = 3 ;
2123 public static final int UC_CPU_RISCV64_ENDING = 4 ;
Original file line number Diff line number Diff line change @@ -39,8 +39,10 @@ interface
3939 UC_CPU_MIPS64_I6500 = 9 ;
4040 UC_CPU_MIPS64_LOONGSON_2E = 10 ;
4141 UC_CPU_MIPS64_LOONGSON_2F = 11 ;
42- UC_CPU_MIPS64_MIPS64DSPR2 = 12 ;
43- UC_CPU_MIPS64_ENDING = 13 ;
42+ UC_CPU_MIPS64_LOONGSON_3A1000 = 12 ;
43+ UC_CPU_MIPS64_LOONGSON_3A4000 = 13 ;
44+ UC_CPU_MIPS64_MIPS64DSPR2 = 14 ;
45+ UC_CPU_MIPS64_ENDING = 15 ;
4446
4547// MIPS registers
4648
@@ -242,4 +244,4 @@ interface
242244 UC_MIPS_REG_LO3 = 48 ;
243245
244246implementation
245- end .
247+ end .
Original file line number Diff line number Diff line change @@ -8,15 +8,17 @@ interface
88// RISCV32 CPU
99
1010 UC_CPU_RISCV32_ANY = 0 ;
11- UC_CPU_RISCV32_BASE32 = 1 ;
12- UC_CPU_RISCV32_SIFIVE_E31 = 2 ;
13- UC_CPU_RISCV32_SIFIVE_U34 = 3 ;
14- UC_CPU_RISCV32_ENDING = 4 ;
11+ UC_CPU_RISCV32_BASE = 1 ;
12+ UC_CPU_RISCV32_IBEX = 2 ;
13+ UC_CPU_RISCV32_SIFIVE_E31 = 3 ;
14+ UC_CPU_RISCV32_SIFIVE_E34 = 4 ;
15+ UC_CPU_RISCV32_SIFIVE_U34 = 5 ;
16+ UC_CPU_RISCV32_ENDING = 6 ;
1517
1618// RISCV64 CPU
1719
1820 UC_CPU_RISCV64_ANY = 0 ;
19- UC_CPU_RISCV64_BASE64 = 1 ;
21+ UC_CPU_RISCV64_BASE = 1 ;
2022 UC_CPU_RISCV64_SIFIVE_E51 = 2 ;
2123 UC_CPU_RISCV64_SIFIVE_U54 = 3 ;
2224 UC_CPU_RISCV64_ENDING = 4 ;
@@ -291,4 +293,4 @@ interface
291293 UC_RISCV_REG_FT11 = 189 ;
292294
293295implementation
294- end .
296+ end .
Original file line number Diff line number Diff line change 3434UC_CPU_MIPS64_I6500 = 9
3535UC_CPU_MIPS64_LOONGSON_2E = 10
3636UC_CPU_MIPS64_LOONGSON_2F = 11
37- UC_CPU_MIPS64_MIPS64DSPR2 = 12
38- UC_CPU_MIPS64_ENDING = 13
37+ UC_CPU_MIPS64_LOONGSON_3A1000 = 12
38+ UC_CPU_MIPS64_LOONGSON_3A4000 = 13
39+ UC_CPU_MIPS64_MIPS64DSPR2 = 14
40+ UC_CPU_MIPS64_ENDING = 15
3941
4042# MIPS registers
4143
Original file line number Diff line number Diff line change 33# RISCV32 CPU
44
55UC_CPU_RISCV32_ANY = 0
6- UC_CPU_RISCV32_BASE32 = 1
7- UC_CPU_RISCV32_SIFIVE_E31 = 2
8- UC_CPU_RISCV32_SIFIVE_U34 = 3
9- UC_CPU_RISCV32_ENDING = 4
6+ UC_CPU_RISCV32_BASE = 1
7+ UC_CPU_RISCV32_IBEX = 2
8+ UC_CPU_RISCV32_SIFIVE_E31 = 3
9+ UC_CPU_RISCV32_SIFIVE_E34 = 4
10+ UC_CPU_RISCV32_SIFIVE_U34 = 5
11+ UC_CPU_RISCV32_ENDING = 6
1012
1113# RISCV64 CPU
1214
1315UC_CPU_RISCV64_ANY = 0
14- UC_CPU_RISCV64_BASE64 = 1
16+ UC_CPU_RISCV64_BASE = 1
1517UC_CPU_RISCV64_SIFIVE_E51 = 2
1618UC_CPU_RISCV64_SIFIVE_U54 = 3
1719UC_CPU_RISCV64_ENDING = 4
You can’t perform that action at this time.
0 commit comments