Using GCC's Nested Functions with Wide Pointers and no Trampolines II
Summary
This article discusses GCC's nested functions, focusing on trampolines and security implications of non-executable stacks. It covers GCC 16's rule about nested functions without capture, GCC 17 with capture via built-ins, and approaches to implement wide pointers and macros to wrap the built-ins. The piece also mentions practical examples and the potential portability concerns.