lkml.org 
[lkml]   [2004]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] WTF is VLI?
Bodo Eggert wrote:

>Avi Kivity wrote:
>
>
>
>>for (offset = 0; offset < max_instr_len; ++offset) {
>> create_object_file(code + offset, len - offset);
>> disassemble();
>> if (disassembly_includes_eip())
>>
>>
>
>
>Will fail for
>
>movl eax,cc000000 ;or something similar, you get the point
>*EIP here*
>
>and result in
>
>INT3
>
>
no, it will start at lower offsets first and see the movl.

of course, there is a chance that it will get confused (by even earlier
partial code), but it will usually be better than the current method and
it will never be confused at or above eip (same as current method).

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.031 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site