[PATCH] D55117: [HWASAN] Instrument memory intrinsics

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 7 01:03:38 PST 2018


evgeny777 added a comment.

> Would it be more flexible to use the same approach here?

Since r340216 HWASAN stopped intercepting common libc routines. As far as I understand the goal of this change is to sanitize libc.
My understanding is that if we do sanitize the whole libc then we don't need special versions of memset and friends in HWASAN runtime.

Even if one doesn't sanitize libc then it is always possible to hook memset/memcpy/memmove like it was previously done with strcpy and stuff.


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

https://reviews.llvm.org/D55117





More information about the llvm-commits mailing list