Robert Baruch autophile@starband.net writes:
So the real question is, can we use
call ecx mov esp, fs:[00000000]
as the handler caller?
What you probably want to do is rewrite EXC_CallHandler in assembler, making sure you use the right instructions. This would also address the issue with %ebp where we currently depend on the way gcc compiles the code, which is not ideal.