[PATCH] D14341: Asan: utility function to determine first wrongly poisoned byte in container.

Mike Aizatsky via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 11:27:27 PST 2015


aizatsky added a comment.

Sorry, had old version uploaded. PTAL.


================
Comment at: include/sanitizer/common_interface_defs.h:108-115
@@ -107,3 +107,10 @@
 
-  // Print the stack trace leading to this call. Useful for debugging user code.
+  // Similar to __sanitizer_verify_contiguous_container but  the address of the
+  // first improperly poisoned byte otherwise. Returns null if the area is
+  // poisoned properly.
+  const void* __sanitizer_contiguous_container_find_bad_address(
+      const void *beg, const void *mid, const void *end);
+
+
+// Print the stack trace leading to this call. Useful for debugging user code.
   void __sanitizer_print_stack_trace();
----------------
I think the name is too long already :)


http://reviews.llvm.org/D14341





More information about the llvm-commits mailing list