[lkml]   [2003]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.5.63 accesses below %esp (was: Re: ntfs OOPS (2.5.63))
On 13 March 2003 23:04, Horst von Brand wrote:
> Szakacsits Szabolcs <> said:
> > On Wed, 12 Mar 2003, Horst von Brand wrote:
> > > It is _hard_ to do with variable length instructions (CISC,
> > > remember?), the code is designed to be easily decoded forward,
> > > noone executes code going backwards.
> >
> > Of course, it's a bad approach. You start earlier and stop at EIP.
> > Repeat this for max(instruction length) different offsets and you
> > will have the winner. Figure it out from the context after EIP.
> By hand, OK. Automatically, no.

Why not? Disassemble from, say, EIP-16 and check whether you
have an instruction starting exactly at EIP. If no, repeat from EIP-15, -14...
You are guaranteed to succeed at EIP-0 ;)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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