koka-lang / libmprompt

Robust multi-prompt delimited control and effect handlers in C/C++
MIT License
106 stars 11 forks source link

Fix stack overwrite bug on AArch64 #12

Open bacam opened 9 months ago

bacam commented 9 months ago

This was harmless on debug builds because it only overwrote some dead local variables in the caller, but broke optimised builds.

I'm not entirely sure about the CFI, but gdb gives plausible backtraces.

bacam commented 9 months ago

On a related note, we also have a Morello branch that you might be interested in...