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

Every AI model has the same "controversial" take on humans
rakannimer · Hacker News · 6h ago
Jailbreaking the Switch 2
ledoge · Hacker News · 14h ago
The recently proposed o(n log n) integer multiplication algorithm [pdf]
craigcitro · Hacker News · 20h ago
Security Disclosure
passenger · Hacker News · 1d ago
Show HN: Run full iOS 16.5 firmware on Android Devices
aghuang · Hacker News · 7h ago