Hi guys, how have you beem? good I hope!, now could anyone help me on using sysenter/sysexit? I don't know if i'm using in the right way!
example.
setup stack, etc.
sysenter.
do operating system calls etc.
sysexit.
ret.
or do I need to use like:
setup stack:
sysenter.
int xx.
sysexit
etc.
etc.
ret
could anyone help please?
thanks in advance!
Use of sysenter/sysexit
-
- Member
- Posts: 5581
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Use of sysenter/sysexit
You're supposed to use SYSENTER instead of INT to call the operating system, and SYSEXIT instead of IRET to return to the application program. (You have to make some more changes for it to work properly, but that's the basic idea.)
Does that answer your question?
Does that answer your question?
Re: Use of sysenter/sysexit
Thanks so much dear friend.
I'm doing in the way you said.
tnx a lot.
I'm doing in the way you said.
tnx a lot.