Am Donnerstag 23 November 2006 01:16 schrieb Nick Burns:
Good point in some cases we can just let get proc address pipe the func ptr directly back to the app..
But.. On Mac OSX -- the stack must be 16 byte aligned (for and lib/sys call) -- this means we need to thunk for the stack on Max OSX -- If Linux or other plats have similar reqs then the thunking is required.
Personally I would rather have the layer as it gives us control on how windows talks with the system.
Yeah, I guess modern CPUs make such calls cheap, thanks to all the little getters and setters they have to deal with thanks to object oriented programming
And we get traces this way