/system/core/libmemunreachable/ |
D | LeakFolding.cpp | 50 LeakInfo& leak = it.second; in ComputeDAG() local 51 for (auto& ref : leak.node.references_out) { in ComputeDAG() 52 if (leak.scc != ref->ptr->scc) { in ComputeDAG() 53 leak.scc->node.Edge(&ref->ptr->scc->node); in ComputeDAG() 79 LeakInfo& leak = it.first->second; in FoldLeaks() local 80 leak_graph_.push_back(&leak.node); in FoldLeaks() 86 LeakInfo& leak = it.second; in FoldLeaks() local 87 heap_walker_.ForEachPtrInRange(leak.range, in FoldLeaks() 91 leak.node.Edge(&ptr_leak->node); in FoldLeaks() 115 const LeakInfo& leak = it.second; in Leaked() local [all …]
|
D | MemUnreachable.cpp | 171 Leak* leak = &leaks.back(); in GetUnreachableMemory() local 174 … reinterpret_cast<void*>(it.range.begin), leak->backtrace.frames, leak->backtrace.max_frames); in GetUnreachableMemory() 176 leak->backtrace.num_frames = num_backtrace_frames; in GetUnreachableMemory() 178 auto inserted = backtrace_map.emplace(leak->backtrace, leak); in GetUnreachableMemory() 194 leak->begin = it.range.begin; in GetUnreachableMemory() 195 leak->size = it.range.size(); in GetUnreachableMemory() 196 leak->referenced_count = it.referenced_count; in GetUnreachableMemory() 197 leak->referenced_size = it.referenced_size; in GetUnreachableMemory() 198 leak->total_size = leak->size + leak->referenced_size; in GetUnreachableMemory() 199 memcpy(leak->contents, reinterpret_cast<void*>(it.range.begin), in GetUnreachableMemory() [all …]
|
D | README.md | 6 …leak detector. It uses an imprecise mark-and-sweep garbage collector pass over all native memory,… 8 …ion. If malloc_debug backtraces are enabled they will be included in the leak information, but ba… 27 Kill and restart the app, trigger the leak, and then run `dumpsys -t 600 meminfo --unreachable [pro… 40 Returns true if leak detection succeeded. 48 …tion on leaks, including details on up to `limit` leaks. Returns true if leak detection succeeded. 52 Returns true if leak detection succeeded. 56 The sequence of steps required to perform a leak detection pass is divided into three processes - t… 66 …continue, the thread that called `GetUnreachableMemory()` blocks waiting for leak data over a pipe.
|
/system/keymaster/ |
D | valgrind.supp | 26 match-leak-kinds: reachable 35 match-leak-kinds: reachable
|
D | Makefile | 185 MEMCHECK_OPTS=--leak-check=full \
|
/system/core/adb/client/ |
D | main.cpp | 106 char* leak = getenv("ADB_LEAK"); in adb_server_main() local 107 if (leak && strcmp(leak, "1") == 0) { in adb_server_main()
|
/system/core/debuggerd/crasher/ |
D | crasher.cpp | 142 noinline void leak() { in leak() function 308 leak(); in do_action()
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | audioserver.te | 27 # ptrace to processes in the same domain for memory leak detection
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | audioserver.te | 27 # ptrace to processes in the same domain for memory leak detection
|
/system/security/keystore/tests/ |
D | Makefile | 94 MEMCHECK_OPTS=--leak-check=full \
|
/system/iorap/ |
D | Android.bp | 229 // Some of the libperfetto header typedefs leak out into iorap. 231 // TODO: clean this up, the headers should not leak out (maybe all we need is a PerfettoConsumer
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | audioserver.te | 27 # ptrace to processes in the same domain for memory leak detection
|
/system/sepolicy/private/ |
D | audioserver.te | 28 # ptrace to processes in the same domain for memory leak detection
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | audioserver.te | 28 # ptrace to processes in the same domain for memory leak detection
|
/system/core/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 97 TEST_F(HeapWalkerTest, leak) { in TEST_F() argument
|
/system/core/trusty/keymaster/legacy/ |
D | Makefile | 132 MEMCHECK_OPTS=--leak-check=full \
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | mediaserver.te | 22 # ptrace to processes in the same domain for memory leak detection
|
/system/sepolicy/public/ |
D | mediaserver.te | 20 # ptrace to processes in the same domain for memory leak detection
|
D | app.te | 581 # Apps may not read /proc/net/{tcp,tcp6,udp,udp6}. These files leak information across the
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | mediaserver.te | 20 # ptrace to processes in the same domain for memory leak detection
|
D | app.te | 581 # Apps may not read /proc/net/{tcp,tcp6,udp,udp6}. These files leak information across the
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | mediaserver.te | 22 # ptrace to processes in the same domain for memory leak detection
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | mediaserver.te | 22 # ptrace to processes in the same domain for memory leak detection
|