[PATCH] D147975: [StackProtector] don't check stack protector before calling nounwind functions
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 22:55:27 PDT 2023
pengfei added a comment.
I'm a little nervous about the assumptions that we don't need to consider for C code. There're other exception behaviors like SJLJ, signal and Windows SEH. IIRC, both SJLJ and SEH will do stack unwind as well.
And I think they are more risky somehow, because they can catch up hardware exceptions like dividend by 0, segment fault or illegal instructions. These exceptions are relative eaiser for an attacker to trigger than a normal C++ exception.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147975/new/
https://reviews.llvm.org/D147975
More information about the llvm-commits
mailing list