[PATCH] [msan] Unpoison siginfo_t and ucontext_t in signal handlers.

Evgeniy Stepanov eugenis at google.com
Wed Apr 3 01:51:52 PDT 2013


  ptal


================
Comment at: lib/msan/msan_interceptors.cc:859
@@ +858,3 @@
+    uptr new_cb =
+        __sanitizer::__sanitizer_get_sigaction_sa_siginfo(pnew_act) ? (uptr)
+        SignalAction : (uptr) SignalHandler;
----------------
Alexey Samsonov wrote:
> OMG, line split looks ugly. M.b. we can use (uptr)SignalAction : (uptr)SignalHandler?
clang-format did that to my code :)


http://llvm-reviews.chandlerc.com/D611



More information about the llvm-commits mailing list