4 ms·
Looks like you also have to use a custom return (`Return`) which is error-prone.
by lxe 7y ago
Looks like you also have to use a custom return (`Return`) which is error-prone.
- cryptonector 7y agoYou can define the macro as `return` -- it won't cause infinite recursion in the C pre-processor, but you do have to either use the `Deferral` macro in every function, or `#undef return` to do a plain return. Try it. I just did, and it works.
- convolvatron 7y agoi have done something similar by using the ptrace hooks..you can ask the compiler to insert the calls, but link in your own functions instead.