[llvm-commits] [PATCH] [ASan] Use dylib interposition to hook memory allocation in the dynamic runtime.

Kostya Serebryany kcc at google.com
Fri Dec 14 01:12:07 PST 2012


  This is getting rid of mach_override, right? Yay!!
  I'd like some Apple folks to review this too, but as long as the tests pass I think
  the review may happen post-commit.


================
Comment at: asan_malloc_mac.cc:346
@@ -362,2 +345,3 @@
   asan_zone.version = 4;
+  // Name must be on heap, because malloc_zone_set_name() may deallocate it.
   asan_zone.zone_name = "asan";
----------------
note sure I understand this comment and the following line


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



More information about the llvm-commits mailing list