Home
last modified time | relevance | path

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

/system/core/libmemunreachable/
DLeakFolding.cpp48 LeakInfo& leak = it.second; in ComputeDAG() local
49 for (auto& ref: leak.node.references_out) { in ComputeDAG()
50 if (leak.scc != ref->ptr->scc) { in ComputeDAG()
51 leak.scc->node.Edge(&ref->ptr->scc->node); in ComputeDAG()
82 LeakInfo& leak = it.first->second; in FoldLeaks() local
83 leak_graph_.push_back(&leak.node); in FoldLeaks()
89 LeakInfo& leak = it.second; in FoldLeaks() local
90 heap_walker_.ForEachPtrInRange(leak.range, in FoldLeaks()
94 leak.node.Edge(&ptr_leak->node); in FoldLeaks()
118 const LeakInfo& leak = it.second; in Leaked() local
[all …]
DMemUnreachable.cpp159 Leak* leak = &leaks.back(); in GetUnreachableMemory() local
162 leak->backtrace.frames, leak->backtrace.max_frames); in GetUnreachableMemory()
164 leak->backtrace.num_frames = num_backtrace_frames; in GetUnreachableMemory()
166 auto inserted = backtrace_map.emplace(leak->backtrace, leak); in GetUnreachableMemory()
182 leak->begin = it.range.begin; in GetUnreachableMemory()
183 leak->size = it.range.size(); in GetUnreachableMemory()
184 leak->referenced_count = it.referenced_count; in GetUnreachableMemory()
185 leak->referenced_size = it.referenced_size; in GetUnreachableMemory()
186 leak->total_size = leak->size + leak->referenced_size; in GetUnreachableMemory()
187 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…
19 Returns true if leak detection succeeded.
27 …tion on leaks, including details on up to `limit` leaks. Returns true if leak detection succeeded.
31 Returns true if leak detection succeeded.
35 The sequence of steps required to perform a leak detection pass is divided into three processes - t…
45 …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
DMakefile173 MEMCHECK_OPTS=--leak-check=full \
/system/sepolicy/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/core/libmemunreachable/tests/
DHeapWalker_test.cpp77 TEST_F(HeapWalkerTest, leak) { in TEST_F() argument
/system/core/trusty/keymaster/
DMakefile132 MEMCHECK_OPTS=--leak-check=full \
/system/sepolicy/public/
Dmediaserver.te22 # ptrace to processes in the same domain for memory leak detection
/system/tpm/trunks/generator/
Draw_structures_fixed.txt9069 would leak the existence of an index even when disabled.
Draw_structures.txt9041 would leak the existence of an index even when disabled.