Allow uc_ctl_set_page_size() for arm64 (#2084)

This commit is contained in:
Daniel Roethlisberger
2025-01-07 04:03:34 +01:00
committed by GitHub
parent 8720632764
commit 9682fc42f7
2 changed files with 27 additions and 1 deletions

2
uc.c
View File

@@ -2543,7 +2543,7 @@ uc_err uc_ctl(uc_engine *uc, uc_control_type control, ...)
break;
}
if (uc->arch != UC_ARCH_ARM) {
if (uc->arch != UC_ARCH_ARM && uc->arch != UC_ARCH_ARM64) {
err = UC_ERR_ARG;
break;
}