eugenis added a comment.

s/vfork/fork/ in the description

I'm afraid removing the fork interceptor will break Android. This is a pretty 
uncommon condition, but still. It is interesting to note that ASan does not 
have this fork protection, see https://github.com/google/sanitizers/issues/774 
for some history.

I wonder if this could be replaced with pthread_atfork. The order of callback 
execution seems right, as long as hwasan is registered first. Or, if you want 
to make progress, add SANITIZER_ANDROID ifdef somewhere.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103564/new/

https://reviews.llvm.org/D103564

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to