[PATCH] D56995: [ASan] Implement malloc zone enumeration for Darwin.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 20 17:58:00 PST 2019


delcypher created this revision.
delcypher added reviewers: kcc, vitalybuka, dvyukov, cryptoad, eugenis, george.karpenkov, yln, kubamracek.
Herald added a subscriber: Sanitizers.

The implementation supports both in-process and out-of-process
enumeration.

The implementation relies on the `ForEachChunk()` method of
the allocators and the `LsanMetadataRemoteView` class to enumerate
live allocations.

The implementation is only for ASan right now but should be easy to
port to LSan in the future.

rdar://problem/45284065


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D56995

Files:
  lib/asan/asan_malloc_mac.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56995.182736.patch
Type: text/x-patch
Size: 7033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190121/0cf47fab/attachment.bin>


More information about the llvm-commits mailing list