Re: Let me know EIP address

From: Bernd Eckenfels
Date: Tue Jan 04 2005 - 12:52:52 EST


In article <20050104171043.21c7c4ef@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/