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(); } }
I think it would make sense to sink this call into prepareExplicitEH.