Re: FYI/RFC: strub: machine-independent stack scrubbing

2021-07-14 Thread Patrick McGehearty via Gcc
I don't have any special expertise in this matter, but the possibility occurs to me that if the caller is an improperly vetted runtime linked-in agent such as a device driver, then the stack scrubbing might accidently or intentionally be omitted, reopening the security hole that stack scrubbing is

FYI/RFC: strub: machine-independent stack scrubbing

2021-07-13 Thread Alexandre Oliva
I've been working on an implementation of stack scrubbing, strub for short. It's quite different from the one that Embecosm folks presented at the Cauldron, in that this one aims to be machine-independent. Instead of machine-specific tweaking of epilogue logic to zero out a function's own stack fr