[PATCH] D57720: [sanitizer] Decorate /proc/self/maps on Android.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 5 14:35:43 PST 2019


eugenis added a subscriber: flowerhack.
eugenis added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:353
 uptr ReservedAddressRange::Init(uptr size, const char *name, uptr fixed_addr) {
-  // We don't pass `name` along because, when you enable `decorate_proc_maps`
-  // AND actually use a named mapping AND are using a sanitizer intercepting
----------------
@flowerhack FYI this is resolved by internal_open-ing /dev/shm instead of relying on shm_open.



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

https://reviews.llvm.org/D57720





More information about the llvm-commits mailing list