Indirect Calling of Nested Functions on GCC Without Executable Stack

·Hacker News··

Blog Contact/Impressum Indirect Calling of Nested Functions on GCC Without Executable Stack Martin Uecker, 2026-08-29 Introduction We discussed last time how one can use nested functions on GCC 17 and Clang for callbacks with requiring an executable stack. But what if ones needs to support older versions of GCC? Of course, one can simply accept an executable stack (it is not quite as terrible as some people claim), but it is also possible to avoid this with a hack. GCC: Nested Functions and Tram

Read full article →

Related Articles

GLM-5.3 is now open-weight
jeudesprits · Hacker News · 1d ago
Samsung's Processing-in-Memory (PIM)
ingve · Hacker News · 10h ago
EPA says power for data centers can sidestep pollution laws
Levitating · Hacker News · 1d ago
Just the rumour of a bug is enough to find an exploit these days
avsm · Hacker News · 1d ago
Does the Sumerian King List Align with Paleoclimate Events?
dev_l1x_be · Hacker News · 17h ago