Unhandled interrupt will halt execution

This commit is contained in:
Hoang-Vu Dang
2016-07-04 17:07:57 -05:00
parent 3151451c87
commit 9cdca5a32b
8 changed files with 20 additions and 7 deletions

2
uc.c
View File

@@ -96,6 +96,8 @@ const char *uc_strerror(uc_err code)
return "Fetch from unaligned memory (UC_ERR_FETCH_UNALIGNED)";
case UC_ERR_RESOURCE:
return "Insufficient resource (UC_ERR_RESOURCE)";
case UC_ERR_UNHANDLED_INTERRUPT:
return "Unhandled machine interrupt (UC_ERR_UNHANDLED_INTERRUPT)";
}
}