Re: [PATCH v4 0/3] Compile-time stack frame pointer validation

Borislav Petkov
2015-05-23T08:38:41Z

On Fri, May 22, 2015 at 09:32:12AM -0500, Josh Poimboeuf wrote:
> If instead the above code were patched into a non-leaf function, we'd
> have to change it to restore the frame pointer before returning.

Not a problem, I think. One'll need to add the FP restoring before the
retq.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--