Merge pull request #472 from adrianherrera/typos-fix

Fixed minor typos
This commit is contained in:
Nguyen Anh Quynh 2016-03-22 19:52:56 +08:00
commit be73f9b30f

View File

@ -470,7 +470,7 @@ static void test_i386_invalid_mem_read(void)
uc_close(uc);
}
// emulate code that read invalid memory
// emulate code that write invalid memory
static void test_i386_invalid_mem_write(void)
{
uc_engine *uc;
@ -532,7 +532,7 @@ static void test_i386_invalid_mem_write(void)
if (!uc_mem_read(uc, 0xaaaaaaaa, &tmp, sizeof(tmp)))
printf(">>> Read 4 bytes from [0x%x] = 0x%x\n", 0xaaaaaaaa, tmp);
else
printf(">>> Failed to read 4 bytes from [0x%x]\n", 0xffffffaa);
printf(">>> Failed to read 4 bytes from [0x%x]\n", 0xaaaaaaaa);
if (!uc_mem_read(uc, 0xffffffaa, &tmp, sizeof(tmp)))
printf(">>> Read 4 bytes from [0x%x] = 0x%x\n", 0xffffffaa, tmp);