add architecture query (#842)

This commit is contained in:
misson20000
2017-05-20 18:47:02 -07:00
committed by Nguyen Anh Quynh
parent 14222bd5f0
commit 3fdb2d2442
7 changed files with 11 additions and 0 deletions

View File

@ -305,6 +305,7 @@ typedef enum uc_query_type {
// Dynamically query current hardware mode.
UC_QUERY_MODE = 1,
UC_QUERY_PAGE_SIZE,
UC_QUERY_ARCH,
} uc_query_type;
// Opaque storage for CPU context, used with uc_context_*()