[PATCH] D69045: libhwasan interceptor ABI intercept longjmp/setjmp
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 11 12:56:09 PDT 2020
eugenis added a comment.
According to https://github.com/google/sanitizers/issues/1244, there is a non-interceptable _setjmp in __libc_start_main that is later jumped to in pthread_exit.
It seems to break this approach.
Any idea what to do? Detect that jmpbuf is not a hwasan jmpbuf and bail out? This is happening at the very end of a thread's life, so hopefully it should not matter that the stack in not untagged.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69045/new/
https://reviews.llvm.org/D69045
More information about the llvm-commits
mailing list