Indirect Calling of Nested Functions on GCC Without Executable Stack
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 →