[PATCH] D98875: [HWASan] Use page aliasing on x86_64.

Anatoly Parshincev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 13:24:47 PDT 2021


EccoTheDolphin added inline comments.


================
Comment at: compiler-rt/test/hwasan/TestCases/hwasan-print-shadow.cpp:11-14
+  char *p = (char *)malloc(4096);
   assert(p);
 
   __hwasan_tag_memory(p, 1, 32);
----------------
@morehouse and  @eugenis it seems that __hwasan_tag_memory expects untagged pointer. This particular piece looks a little bit suspicious. Could you please clarify?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98875/new/

https://reviews.llvm.org/D98875



More information about the llvm-commits mailing list