Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261752AbVADRuX (ORCPT ); Tue, 4 Jan 2005 12:50:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261793AbVADRuX (ORCPT ); Tue, 4 Jan 2005 12:50:23 -0500 Received: from quechua.inka.de ([193.197.184.2]:61336 "EHLO mail.inka.de") by vger.kernel.org with ESMTP id S261752AbVADRuO (ORCPT ); Tue, 4 Jan 2005 12:50:14 -0500 From: Bernd Eckenfels To: linux-kernel@vger.kernel.org Subject: Re: Let me know EIP address Organization: Deban GNU/Linux Homesite In-Reply-To: <20050104171043.21c7c4ef@tux.homenet> X-Newsgroups: ka.lists.linux.kernel User-Agent: tin/1.7.6-20040906 ("Baleshare") (UNIX) (Linux/2.6.8.1 (i686)) Message-Id: Date: Tue, 04 Jan 2005 18:50:11 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 542 Lines: 16 In article <20050104171043.21c7c4ef@tux.homenet> you wrote: >> I'm trying to get the EIP value from a simple program in C but i don't > The EIP register cannot be accessed directly by software I guess most often is enough to get the address of a C function printf("%p", &func); Greetings Bernd - 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/