Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 12 Mar 2003 16:59:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 12 Mar 2003 16:59:37 -0500 Received: from divine.city.tvnet.hu ([195.38.100.154]:21313 "EHLO divine.city.tvnet.hu") by vger.kernel.org with ESMTP id ; Wed, 12 Mar 2003 16:59:35 -0500 Date: Wed, 12 Mar 2003 23:03:20 +0100 (MET) From: Szakacsits Szabolcs To: Horst von Brand cc: Subject: Re: 2.5.63 accesses below %esp (was: Re: ntfs OOPS (2.5.63)) In-Reply-To: <200303122113.h2CLDSfR032057@pincoya.inf.utfsm.cl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 24 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. > When I needed to look at the code in an Oops I'd either objdump(1)ed it or > compiled the offending stuff to assembler (possibly with custom CFLAGS to > get info on line numbers and such in the output). I was talking about cases when you can't do these. Szaka - 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/