Home
last modified time | relevance | path

Searched refs:leak (Results 1 – 23 of 23) sorted by relevance

/system/core/libmemunreachable/
DLeakFolding.cpp50 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 …]
DMemUnreachable.cpp171 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 …]
DREADME.md6leak 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/
Dvalgrind.supp26 match-leak-kinds: reachable
35 match-leak-kinds: reachable
DMakefile185 MEMCHECK_OPTS=--leak-check=full \
/system/core/adb/client/
Dmain.cpp106 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/
Dcrasher.cpp142 noinline void leak() { in leak() function
308 leak(); in do_action()
/system/sepolicy/prebuilts/api/27.0/private/
Daudioserver.te27 # ptrace to processes in the same domain for memory leak detection
/system/sepolicy/prebuilts/api/26.0/private/
Daudioserver.te27 # ptrace to processes in the same domain for memory leak detection
/system/security/keystore/tests/
DMakefile94 MEMCHECK_OPTS=--leak-check=full \
/system/iorap/
DAndroid.bp229 // 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/
Daudioserver.te27 # ptrace to processes in the same domain for memory leak detection
/system/sepolicy/private/
Daudioserver.te28 # ptrace to processes in the same domain for memory leak detection
/system/sepolicy/prebuilts/api/29.0/private/
Daudioserver.te28 # ptrace to processes in the same domain for memory leak detection
/system/core/libmemunreachable/tests/
DHeapWalker_test.cpp97 TEST_F(HeapWalkerTest, leak) { in TEST_F() argument
/system/core/trusty/keymaster/legacy/
DMakefile132 MEMCHECK_OPTS=--leak-check=full \
/system/sepolicy/prebuilts/api/27.0/public/
Dmediaserver.te22 # ptrace to processes in the same domain for memory leak detection
/system/sepolicy/public/
Dmediaserver.te20 # ptrace to processes in the same domain for memory leak detection
Dapp.te581 # Apps may not read /proc/net/{tcp,tcp6,udp,udp6}. These files leak information across the
/system/sepolicy/prebuilts/api/29.0/public/
Dmediaserver.te20 # ptrace to processes in the same domain for memory leak detection
Dapp.te581 # Apps may not read /proc/net/{tcp,tcp6,udp,udp6}. These files leak information across the
/system/sepolicy/prebuilts/api/28.0/public/
Dmediaserver.te22 # ptrace to processes in the same domain for memory leak detection
/system/sepolicy/prebuilts/api/26.0/public/
Dmediaserver.te22 # ptrace to processes in the same domain for memory leak detection