Format code

This commit is contained in:
lazymio 2022-04-16 17:50:12 +02:00
parent b136f08f2d
commit c379d1bfe4
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
3 changed files with 9 additions and 9 deletions

View File

@ -735,7 +735,8 @@ static void test_armeb_ldrb(void)
int r1 = 0x1234;
int r2 = data_address;
uc_common_setup(&uc, UC_ARCH_ARM, UC_MODE_ARM | UC_MODE_BIG_ENDIAN, test_code, sizeof(test_code) - 1, UC_CPU_ARM_1176);
uc_common_setup(&uc, UC_ARCH_ARM, UC_MODE_ARM | UC_MODE_BIG_ENDIAN,
test_code, sizeof(test_code) - 1, UC_CPU_ARM_1176);
OK(uc_mem_map(uc, data_address, 1024 * 1024, UC_PROT_ALL));
OK(uc_mem_write(uc, data_address, "\x66\x67\x68\x69", 4));

1
uc.c
View File

@ -2182,7 +2182,6 @@ uc_err uc_ctl(uc_engine *uc, uc_control_type control, ...)
break;
}
if (uc->arch == UC_ARCH_X86) {
if (model >= UC_CPU_X86_ENDING) {
err = UC_ERR_ARG;