Indirect Calling of Nested Functions on GCC Without Executable Stack

(uecker.codeberg.page)

18 points | by uecker 1 hour ago

3 comments

  • gue5t 0 minutes ago
    At first, I was annoyed by having to read AT&T syntax. Then I was disoriented by realizing the next snippet was in AT&T syntax without the '%' sigil for registers. But the technique is cool.
  • mananaysiempre 9 minutes ago
    Related: previous article in the series, https://news.ycombinator.com/item?id=49308685 (103 points, 47 comments)
  • inigyou 14 minutes ago
    Self-modifying code is cool. It's a shame we had to disable it for security.