IP register is 2 bytes

This commit is contained in:
mio 2022-10-28 17:44:17 +02:00
parent 9c5358c759
commit 563104fa91
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
1 changed files with 1 additions and 1 deletions

2
uc.c
View File

@ -769,7 +769,7 @@ uc_err uc_emu_start(uc_engine *uc, uint64_t begin, uint64_t until,
default:
break;
case UC_MODE_16: {
uint64_t ip;
uint16_t ip;
uint16_t cs;
uc_reg_read(uc, UC_X86_REG_CS, &cs);