by ghoward · 5y ago · 0 comments
One of the projects I was to go in the future is implement boringcc [1], and this sounds like something I would want in it.
The question then becomes: would it even be possible to do?
[1]: https://groups.google.com/g/boring-crypto/c/48qa1kWignU/m/o8...
It could disable some (many?) optimizations, but I don't see it as a particularly hard thing to do (at least conceptually).
The C specs do not define any resource exhaustion failure modes. But actual operating systems, ABIs, platforms -- they do.
If you are on a system that gives you a SIGSEGV but no way to catch it on an alternate stack -or if you don't catch or ignore it- then your process will crash. This is fine. It's better than memory corruption.