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

Why are European countries moving their gold out of North America?
ranit · Hacker News · 17h ago
Hackers Had a Live Feed of Every ID Verification Company Scanned for over a Year
beardyw · Hacker News · 1d ago
Artificial Analysis Intelligence Index v4.2
nojs · Hacker News · 23h ago
Solving the Jane Street reverse engineering challenge
anitil · Hacker News · 1d ago
Which tools do Claude, Codex and Cursor choose? We measured 17k runs to find out
screm · Hacker News · 2d ago