Kyle Jones <kyle_jones(a)wonderworks.com> writes:
> Fault handling stuff? That was half a joke. (...)
I like your proposal.
The serious one (XSETCAR/XSETCDR macros), or the fault handling?
The problem with the latter is that it's very non-portable. Yes, it
would work, but it would require quite a bit of Autoconf work. I've
prepared a patch for trapping stack overflows in a similar fashion,
but I haven't submitted it yet due to its poor portability.
If we could do use mprotect() on the pure[] array on ELF and other
systems that can't dump to a read-only area, that would be even
better.
That would be OK with me, yes.