search for: read_ulong

Displaying 1 result from an estimated 1 matches for "read_ulong".

2013 Nov 19
1
[PATCH] x86: fix emulation of indirect far calls and jumps
...ype = OP_NONE; @@ -3580,9 +3579,9 @@ x86_emulate( case 5: /* jmp (far, absolute indirect) */ { unsigned long sel; - generate_exception_if(dst.type != OP_MEM, EXC_UD, -1); + generate_exception_if(src.type != OP_MEM, EXC_UD, -1); - if ( (rc = read_ulong(dst.mem.seg, dst.mem.off+dst.bytes, + if ( (rc = read_ulong(src.mem.seg, src.mem.off + op_bytes, &sel, 2, ctxt, ops)) ) goto done; @@ -3600,7 +3599,7 @@ x86_emulate( if ( (rc = load_seg(x86_seg_cs, sel, ctxt, ops))...