EmbeddingGemma 2: an open, lightweight multimodal embedding model
deepmind.google·6d ago
TL;DR
A method for indirectly calling nested functions in older versions of GCC without requiring an executable stack has been discussed. This approach allows developers to maintain compatibility while avoiding potential security risks associated with executable stacks.
✦ Why It Matters
Implement this workaround to enhance compatibility with older GCC versions while maintaining security standards.
Key Takeaways
How It Works
The method uses a trampoline to load the static frame register and jump to the nested function. By extracting the code address and static chain from the trampoline, developers can call the nested function directly using built-in functions, avoiding the need for an executable stack.
Related