[PATCH] Protection against stack-based memory corruption errors using SafeStack
Kostya Serebryany
kcc at google.com
Mon Nov 3 15:09:38 PST 2014
I am curious why you are doing transformations in CodeGen as opposed to LLVM IR?
Note that AddressSanitizer has similar transformation done as an LLVM IR pass (i.e. 'opt', not 'llc')
which makes testing much simpler (IMHO) and not x86-dependent.
See FunctionStackPoisoner::poisonStack in lib/Transforms/Instrumentation/AddressSanitizer.cpp
http://reviews.llvm.org/D6094
More information about the llvm-commits
mailing list