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 =
41
41
let UC_CPU_MIPS64_I6500 = 9
42
42
let UC_CPU_MIPS64_LOONGSON_2E = 10
43
43
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
46
48
47
49
// MIPS registers
48
50
Original file line number Diff line number Diff line change @@ -10,15 +10,17 @@ module Riscv =
10
10
// RISCV32 CPU
11
11
12
12
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
17
19
18
20
// RISCV64 CPU
19
21
20
22
let UC_CPU_RISCV64_ANY = 0
21
- let UC_CPU_RISCV64_BASE64 = 1
23
+ let UC_CPU_RISCV64_BASE = 1
22
24
let UC_CPU_RISCV64_SIFIVE_E51 = 2
23
25
let UC_CPU_RISCV64_SIFIVE_U54 = 3
24
26
let UC_CPU_RISCV64_ENDING = 4
Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ const (
36
36
CPU_MIPS64_I6500 = 9
37
37
CPU_MIPS64_LOONGSON_2E = 10
38
38
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
41
43
42
44
// MIPS registers
43
45
Original file line number Diff line number Diff line change @@ -5,15 +5,17 @@ const (
5
5
// RISCV32 CPU
6
6
7
7
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
12
14
13
15
// RISCV64 CPU
14
16
15
17
CPU_RISCV64_ANY = 0
16
- CPU_RISCV64_BASE64 = 1
18
+ CPU_RISCV64_BASE = 1
17
19
CPU_RISCV64_SIFIVE_E51 = 2
18
20
CPU_RISCV64_SIFIVE_U54 = 3
19
21
CPU_RISCV64_ENDING = 4
Original file line number Diff line number Diff line change @@ -38,8 +38,10 @@ public interface MipsConst {
38
38
public static final int UC_CPU_MIPS64_I6500 = 9 ;
39
39
public static final int UC_CPU_MIPS64_LOONGSON_2E = 10 ;
40
40
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 ;
43
45
44
46
// MIPS registers
45
47
Original file line number Diff line number Diff line change @@ -7,15 +7,17 @@ public interface RiscvConst {
7
7
// RISCV32 CPU
8
8
9
9
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 ;
14
16
15
17
// RISCV64 CPU
16
18
17
19
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 ;
19
21
public static final int UC_CPU_RISCV64_SIFIVE_E51 = 2 ;
20
22
public static final int UC_CPU_RISCV64_SIFIVE_U54 = 3 ;
21
23
public static final int UC_CPU_RISCV64_ENDING = 4 ;
Original file line number Diff line number Diff line change @@ -39,8 +39,10 @@ interface
39
39
UC_CPU_MIPS64_I6500 = 9 ;
40
40
UC_CPU_MIPS64_LOONGSON_2E = 10 ;
41
41
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 ;
44
46
45
47
// MIPS registers
46
48
@@ -242,4 +244,4 @@ interface
242
244
UC_MIPS_REG_LO3 = 48 ;
243
245
244
246
implementation
245
- end .
247
+ end .
Original file line number Diff line number Diff line change @@ -8,15 +8,17 @@ interface
8
8
// RISCV32 CPU
9
9
10
10
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 ;
15
17
16
18
// RISCV64 CPU
17
19
18
20
UC_CPU_RISCV64_ANY = 0 ;
19
- UC_CPU_RISCV64_BASE64 = 1 ;
21
+ UC_CPU_RISCV64_BASE = 1 ;
20
22
UC_CPU_RISCV64_SIFIVE_E51 = 2 ;
21
23
UC_CPU_RISCV64_SIFIVE_U54 = 3 ;
22
24
UC_CPU_RISCV64_ENDING = 4 ;
@@ -291,4 +293,4 @@ interface
291
293
UC_RISCV_REG_FT11 = 189 ;
292
294
293
295
implementation
294
- end .
296
+ end .
Original file line number Diff line number Diff line change 34
34
UC_CPU_MIPS64_I6500 = 9
35
35
UC_CPU_MIPS64_LOONGSON_2E = 10
36
36
UC_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
39
41
40
42
# MIPS registers
41
43
Original file line number Diff line number Diff line change 3
3
# RISCV32 CPU
4
4
5
5
UC_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
10
12
11
13
# RISCV64 CPU
12
14
13
15
UC_CPU_RISCV64_ANY = 0
14
- UC_CPU_RISCV64_BASE64 = 1
16
+ UC_CPU_RISCV64_BASE = 1
15
17
UC_CPU_RISCV64_SIFIVE_E51 = 2
16
18
UC_CPU_RISCV64_SIFIVE_U54 = 3
17
19
UC_CPU_RISCV64_ENDING = 4
You can’t perform that action at this time.
0 commit comments