} else {
ret = v3_read_gva_memory(info, get_addr_linear(info, info->rip, &(info->segments.cs)), 15, instr);
}
+
+ if (ret!=15) {
+ PrintError(info->vm_info, info, "Could not read instruction\n");
+ return -1;
+ }
if (v3_decode(info, (addr_t)instr, &dec_instr) == -1) {
PrintError(info->vm_info, info, "Could not decode instruction\n");
} else {
ret = v3_read_gva_memory(info, get_addr_linear(info, info->rip, &(info->segments.cs)), 15, instr);
}
-
+
+ if (ret!=15) {
+ PrintError(info->vm_info, info, "Could not read instruction\n");
+ return -1;
+ }
if (v3_decode(info, (addr_t)instr, &dec_instr) == -1) {
PrintError(info->vm_info, info, "Could not decode instruction\n");
ret = v3_read_gva_memory(info, get_addr_linear(info, info->rip, &(info->segments.cs)), 15, instr);
}
+ if (ret!=15) {
+ PrintError(info->vm_info, info, "Could not read instruction\n");
+ return -1;
+ }
+
if (v3_decode(info, (addr_t)instr, &dec_instr) == -1) {
PrintError(info->vm_info, info, "Could not decode instruction\n");
return -1;
ret = v3_read_gva_memory(info, get_addr_linear(info, info->rip, &(info->segments.cs)), 15, instr);
}
+ if (ret!=15) {
+ PrintError(info->vm_info, info, "Could not read instruction\n");
+ return -1;
+ }
+
if (v3_decode(info, (addr_t)instr, &dec_instr) == -1) {
PrintError(info->vm_info, info, "Could not decode instruction\n");
return -1;
ret = v3_read_gva_memory(info, get_addr_linear(info, info->rip, &(info->segments.cs)), 15, instr);
}
+ if (ret!=15) {
+ PrintError(info->vm_info, info, "Could not read instruction\n");
+ return -1;
+ }
+
if (v3_decode(info, (addr_t)instr, &dec_instr) == -1) {
PrintError(info->vm_info, info, "Could not decode instruction\n");
return -1;
ret = v3_read_gva_memory(info, get_addr_linear(info, info->rip, &(info->segments.cs)), 15, instr);
}
+ if (ret!=15) {
+ PrintError(info->vm_info, info, "Could not read instruction\n");
+ return -1;
+ }
+
+
if (v3_decode(info, (addr_t)instr, &dec_instr) == -1) {
PrintError(info->vm_info, info, "Could not decode instruction\n");
return -1;
ret = v3_read_gva_memory(info, get_addr_linear(info, info->rip, &(info->segments.cs)), 15, instr);
}
+ if (ret!=15) {
+ PrintError(info->vm_info, info, "Could not read instruction\n");
+ return -1;
+ }
+
if (v3_decode(info, (addr_t)instr, &dec_instr) == -1) {
PrintError(info->vm_info, info, "Could not decode instruction\n");
return -1;
ret = v3_read_gva_memory(info, get_addr_linear(info, info->rip, &(info->segments.cs)), 15, instr);
}
+ if (ret!=15) {
+ PrintError(info->vm_info, info, "Could not read instruction\n");
+ return -1;
+ }
+
if (v3_decode(info, (addr_t)instr, &dec_instr) == -1) {
PrintError(info->vm_info, info, "Could not decode instruction\n");
return -1;