Home
last modified time | relevance | path

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

/system/memory/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.cpp172 Leak* leak = &leaks.back(); in GetUnreachableMemory() local
175 … reinterpret_cast<void*>(it.range.begin), leak->backtrace.frames, leak->backtrace.max_frames); in GetUnreachableMemory()
177 leak->backtrace.num_frames = num_backtrace_frames; in GetUnreachableMemory()
179 auto inserted = backtrace_map.emplace(leak->backtrace, leak); in GetUnreachableMemory()
195 leak->begin = it.range.begin; in GetUnreachableMemory()
196 leak->size = it.range.size(); in GetUnreachableMemory()
197 leak->referenced_count = it.referenced_count; in GetUnreachableMemory()
198 leak->referenced_size = it.referenced_size; in GetUnreachableMemory()
199 leak->total_size = leak->size + leak->referenced_size; in GetUnreachableMemory()
200 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
DMakefile184 MEMCHECK_OPTS=--leak-check=full \
/system/core/adb/client/
Dmain.cpp113 const char* leak = getenv("ADB_LEAK"); in adb_server_main() local
114 if (leak && strcmp(leak, "1") == 0) { in adb_server_main()
/system/core/debuggerd/crasher/
Dcrasher.cpp142 noinline void leak() { in leak() function
309 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/
DMakefile93 MEMCHECK_OPTS=--leak-check=full \
/system/iorap/
DAndroid.bp230 // Some of the libperfetto header typedefs leak out into iorap.
232 // 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/prebuilts/api/29.0/private/
Daudioserver.te28 # ptrace to processes in the same domain for memory leak detection
/system/sepolicy/prebuilts/api/30.0/private/
Daudioserver.te28 # 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/memory/libmemunreachable/tests/
DHeapWalker_test.cpp97 TEST_F(HeapWalkerTest, leak) { in TEST_F() argument
/system/sepolicy/prebuilts/api/26.0/public/
Dmediaserver.te22 # ptrace to processes in the same domain for memory leak detection
/system/sepolicy/prebuilts/api/27.0/public/
Dmediaserver.te22 # ptrace to processes in the same domain for memory leak detection
/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/30.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/public/
Dmediaserver.te20 # ptrace to processes in the same domain for memory leak detection
Dapp.te588 # Apps may not read /proc/net/{tcp,tcp6,udp,udp6}. These files leak information across the