GCC stackleak function attribute
GCC stackleak function attribute
Posted Sep 13, 2018 6:47 UTC (Thu) by mjw (subscriber, #16740)Parent article: Trying to get STACKLEAK into the kernel
At the GNU Tools Cauldron last week there was a presentation on a similar topic to get a new stackleak like attribute for functions that would clear the stack used on function return into GCC.
This might be used instead of the gcc plugin currently used (assuming the goals are similar enough). It might be interesting to collaborate on these kind of functionality/security mitigations can be made more generic so they can be used across user and kernel space.
Slides and video should appear here soon: https://gcc.gnu.org/wiki/cauldron2018#Slides.2C_Videos_an...