[PATCH] asan: handle SIGABRT

Alexander Potapenko glider at google.com
Thu Jul 11 03:30:30 PDT 2013



================
Comment at: lib/asan/asan_posix.cc:90
@@ +89,3 @@
+  UnmapShadowMappings();
+  InvokeDefaultSignalHandler(SIGABRT);
+}
----------------
Once you unmap the shadow mappings, it's unsafe to invoke the default signal handler, because the instrumented code will try to access the shadow memory.


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



More information about the llvm-commits mailing list