|
|
|
|
|
by mappu
5106 days ago
|
|
Looks like fastcall, or any convention on x86_64. I think you can do bound functions if you do callee-cleanup, then your intermediate bound trampolines can just jmp and you don't end up with (too many) weird problems. But it means that the final return address ends up at the bottom of the stack, rather than at the top, like it would with a conventional push/call system. In any case it looks like cdecl is out of the question. Some further discussion in a slightly different context, if you're interested: http://stackoverflow.com/questions/11271848/implementing-bou... |
|