diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-06-30 15:36:59 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-06-30 15:36:59 +0000 |
commit | 47cf4eabe6e2dac486a57bcd52437e84a772883a (patch) | |
tree | 67377266a2db445d28c48906b8c9576133b0fb87 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 7521e1b880a14a9df799ef95db2a0084a51be8f1 (diff) | |
download | llvm-47cf4eabe6e2dac486a57bcd52437e84a772883a.zip llvm-47cf4eabe6e2dac486a57bcd52437e84a772883a.tar.gz llvm-47cf4eabe6e2dac486a57bcd52437e84a772883a.tar.bz2 |
[exceptions] Upgrade exception handlers when stack protector is used
Summary:
MSVC provide exception handlers with enhanced information to deal with security buffer feature (/GS).
To be more secure, the security cookies (GS and SEH) are validated when unwinding the stack.
The following code:
```
void f() {}
void foo() {
__try {
f();
} __except(1) {
f();
}
}
```
Reviewers: majnemer, rnk
Subscribers: thakis, llvm-commits, chrisha
Differential Revision: http://reviews.llvm.org/D21101
llvm-svn: 274239
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions