3 ms·
What's the point of having an ABI if you can't assume it's being used? If you don't want to trust any callees, you could use an ABI with all registers caller s
by toast0 4y ago
What's the point of having an ABI if you can't assume it's being used?
If you don't want to trust any callees, you could use an ABI with all registers caller saves, but I don't think any mainstream ABIs are like that.
There's a balance where having some registers be caller saved and others callee saved means a lot less saving required.