Call gates

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ManOfSteel

Call gates

Post by ManOfSteel »

hello,
I need some information about call gates: how to set them up (are they written in the GDT or in the IDT) and how to use them.
Thanks in advance for any help.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Call gates

Post by Pype.Clicker »

i suggest you get a look at these threads:
http://www.mega-tokyo.com/forum/index.p ... 38;start=0
http://www.mega-tokyo.com/forum/index.p ... 27;start=0
http://www.mega-tokyo.com/forum/index.p ... 36;start=0

(very) basically, a 'gate' is a 'jump/call redirector'. You place a gate #i in a process LDT and when the program will CALL i:0, it will actually be calling SOME_OTHER_CODE_SEGMENT:SOME_FUNCTION.

Gates may also offer priviledge raising and transparent stack-based parameters passing...
Post Reply