Oops, I meaned: eip can't be accessed directly. You have to use call. 2008/6/4 Frédéric Weisbecker <[EMAIL PROTECTED]>:
> Hello, > > You mean how to get your own kernel's task eip? > It's like in userspace, you can directly access eip but the opcode "call" > pushes eip on the stack so eip can be accessed with this kind of code: > > get_eip: > mov (%esp), %eax > ret > > call get_eip > //some code <--- eip of this line will be on eax > > 2008/6/4 Michal <[EMAIL PROTECTED]>: > >> Hallo Group Members >> >> >> Is it possible? >> >> best regards, >> Michal >> >> -- >> To unsubscribe from this list: send an email with >> "unsubscribe kernelnewbies" to [EMAIL PROTECTED] >> Please read the FAQ at http://kernelnewbies.org/FAQ >> >> >
