[PATCH] D50746: [hwasan] Add a basic API.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 16:51:25 PDT 2018


vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.


================
Comment at: compiler-rt/include/sanitizer/hwasan_interface.h:35
 
+  /* Mark region of memory with the given tag. Both address and size need to be
+   * 16-byte aligned. */
----------------
/* -> //


================
Comment at: compiler-rt/include/sanitizer/hwasan_interface.h:39
+
+  /* Add tag to the pointer. Previous pointer tag is lost. */
+  void *__hwasan_tag_pointer(const volatile void *p, unsigned char tag);
----------------
Add -> set


https://reviews.llvm.org/D50746





More information about the llvm-commits mailing list