[PATCH] D44801: Add the -fsanitize=shadow-call-stack flag

Kostya Serebryany via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 27 17:15:50 PDT 2018


kcc accepted this revision.
kcc added a comment.

LGTM modulo prolog vs prlogue and epilog vs epilogue

https://en.wiktionary.org/wiki/epilog says these are alternative spellings, so up to you.



================
Comment at: docs/ShadowCallStack.rst:14
+buffer overflows. It works by saving a function's return address to a
+separately allocated 'shadow call stack' in the function prolog and checking the
+return address on the stack against the shadow call stack in the function
----------------
kcc wrote:
> prologue/epilogue? 
> (it's your native tongue, not mine, though)
PTAL


Repository:
  rC Clang

https://reviews.llvm.org/D44801





More information about the cfe-commits mailing list