[LLVMdev] Adding CFI checks to clang vs llvm (original) (raw)
Peter Collingbourne peter at pcc.me.uk
Tue Feb 17 12:35:51 PST 2015
- Previous message: [LLVMdev] [3.6 Release] Release Candidate 3 available
- Next message: [LLVMdev] Adding CFI checks to clang vs llvm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
In http://reviews.llvm.org/D7424 we've been discussing whether to insert control flow integrity checks in Clang or LLVM. The main challenge is that the checks need something like a string associated with each call, and there's currently no stable way to ensure that the string stays with the call.
The current version of the patch does the checks with an intrinsic, but there's a concern that this may interfere with devirtualization.
Does anyone have any opinions besides what's been discussed on the review thread?
Thanks,
Peter
- Previous message: [LLVMdev] [3.6 Release] Release Candidate 3 available
- Next message: [LLVMdev] Adding CFI checks to clang vs llvm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]