|
4 | 4 |
|
5 | 5 | public interface UnicornConst {
|
6 | 6 | public static final int UC_API_MAJOR = 2;
|
| 7 | + public static final int UC_API_MINOR = 1; |
7 | 8 |
|
8 |
| - public static final int UC_API_MINOR = 0; |
9 |
| - public static final int UC_API_PATCH = 2; |
10 |
| - public static final int UC_API_EXTRA = 1; |
| 9 | + public static final int UC_API_PATCH = 0; |
| 10 | + public static final int UC_API_EXTRA = 255; |
11 | 11 | public static final int UC_VERSION_MAJOR = 2;
|
| 12 | + public static final int UC_VERSION_MINOR = 1; |
12 | 13 |
|
13 |
| - public static final int UC_VERSION_MINOR = 0; |
14 |
| - public static final int UC_VERSION_PATCH = 2; |
15 |
| - public static final int UC_VERSION_EXTRA = 1; |
| 14 | + public static final int UC_VERSION_PATCH = 0; |
| 15 | + public static final int UC_VERSION_EXTRA = 255; |
16 | 16 | public static final int UC_SECOND_SCALE = 1000000;
|
17 | 17 | public static final int UC_MILISECOND_SCALE = 1000;
|
18 | 18 | public static final int UC_ARCH_ARM = 1;
|
@@ -144,11 +144,14 @@ public interface UnicornConst {
|
144 | 144 | public static final int UC_CTL_TLB_FLUSH = 11;
|
145 | 145 | public static final int UC_CTL_TLB_TYPE = 12;
|
146 | 146 | public static final int UC_CTL_TCG_BUFFER_SIZE = 13;
|
| 147 | + public static final int UC_CTL_CONTEXT_MODE = 14; |
147 | 148 |
|
148 | 149 | public static final int UC_PROT_NONE = 0;
|
149 | 150 | public static final int UC_PROT_READ = 1;
|
150 | 151 | public static final int UC_PROT_WRITE = 2;
|
151 | 152 | public static final int UC_PROT_EXEC = 4;
|
152 | 153 | public static final int UC_PROT_ALL = 7;
|
| 154 | + public static final int UC_CTL_CONTEXT_CPU = 1; |
| 155 | + public static final int UC_CTL_CONTEXT_MEMORY = 2; |
153 | 156 |
|
154 | 157 | }
|
0 commit comments