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

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 11:21:58 PST 2015


kcc added inline comments.

================
Comment at: include/sanitizer/common_interface_defs.h:108
@@ -107,2 +107,3 @@
 
-  // Print the stack trace leading to this call. Useful for debugging user code.
+  const void* __sanitizer_contiguous_container_find_bad_address(
+      const void *beg, const void *mid, const void *end);
----------------
Maybe find_first_bad_address?
Also, add a comment please. 


http://reviews.llvm.org/D14341





More information about the llvm-commits mailing list