Home
last modified time | relevance | path

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

123

/external/llvm-project/compiler-rt/lib/asan/
Dasan_report.h54 BufferedStackTrace *free_stack);
55 void ReportDoubleFree(uptr addr, BufferedStackTrace *free_stack);
56 void ReportFreeNotMalloced(uptr addr, BufferedStackTrace *free_stack);
57 void ReportAllocTypeMismatch(uptr addr, BufferedStackTrace *free_stack,
60 void ReportMallocUsableSizeNotOwned(uptr addr, BufferedStackTrace *stack);
62 BufferedStackTrace *stack);
63 void ReportCallocOverflow(uptr count, uptr size, BufferedStackTrace *stack);
65 BufferedStackTrace *stack);
66 void ReportPvallocOverflow(uptr size, BufferedStackTrace *stack);
68 BufferedStackTrace *stack);
[all …]
Dasan_errors.h68 const BufferedStackTrace *second_free_stack;
72 ErrorDoubleFree(u32 tid, BufferedStackTrace *stack, uptr addr) in ErrorDoubleFree()
82 const BufferedStackTrace *free_stack;
88 ErrorNewDeleteTypeMismatch(u32 tid, BufferedStackTrace *stack, uptr addr, in ErrorNewDeleteTypeMismatch()
100 const BufferedStackTrace *free_stack;
104 ErrorFreeNotMalloced(u32 tid, BufferedStackTrace *stack, uptr addr) in ErrorFreeNotMalloced()
112 const BufferedStackTrace *dealloc_stack;
117 ErrorAllocTypeMismatch(u32 tid, BufferedStackTrace *stack, uptr addr, in ErrorAllocTypeMismatch()
128 const BufferedStackTrace *stack;
132 ErrorMallocUsableSizeNotOwned(u32 tid, BufferedStackTrace *stack_, uptr addr) in ErrorMallocUsableSizeNotOwned()
[all …]
Dasan_allocator.h208 void *asan_memalign(uptr alignment, uptr size, BufferedStackTrace *stack,
210 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
212 BufferedStackTrace *stack, AllocType alloc_type);
214 void *asan_malloc(uptr size, BufferedStackTrace *stack);
215 void *asan_calloc(uptr nmemb, uptr size, BufferedStackTrace *stack);
216 void *asan_realloc(void *p, uptr size, BufferedStackTrace *stack);
218 BufferedStackTrace *stack);
219 void *asan_valloc(uptr size, BufferedStackTrace *stack);
220 void *asan_pvalloc(uptr size, BufferedStackTrace *stack);
222 void *asan_aligned_alloc(uptr alignment, uptr size, BufferedStackTrace *stack);
[all …]
Dasan_report.cpp220 void ReportDoubleFree(uptr addr, BufferedStackTrace *free_stack) { in ReportDoubleFree()
228 BufferedStackTrace *free_stack) { in ReportNewDeleteTypeMismatch()
235 void ReportFreeNotMalloced(uptr addr, BufferedStackTrace *free_stack) { in ReportFreeNotMalloced()
241 void ReportAllocTypeMismatch(uptr addr, BufferedStackTrace *free_stack, in ReportAllocTypeMismatch()
250 void ReportMallocUsableSizeNotOwned(uptr addr, BufferedStackTrace *stack) { in ReportMallocUsableSizeNotOwned()
257 BufferedStackTrace *stack) { in ReportSanitizerGetAllocatedSizeNotOwned()
264 void ReportCallocOverflow(uptr count, uptr size, BufferedStackTrace *stack) { in ReportCallocOverflow()
271 BufferedStackTrace *stack) { in ReportReallocArrayOverflow()
277 void ReportPvallocOverflow(uptr size, BufferedStackTrace *stack) { in ReportPvallocOverflow()
284 BufferedStackTrace *stack) { in ReportInvalidAllocationAlignment()
[all …]
Dasan_allocator.cpp195 QuarantineCallback(AllocatorCache *cache, BufferedStackTrace *stack) in QuarantineCallback()
240 BufferedStackTrace* const stack_;
472 bool UpdateAllocationStack(uptr addr, BufferedStackTrace *stack) { in UpdateAllocationStack()
484 void *Allocate(uptr size, uptr alignment, BufferedStackTrace *stack, in Allocate()
618 BufferedStackTrace *stack) { in AtomicallySetQuarantineFlagIfAllocated()
636 void QuarantineChunk(AsanChunk *m, void *ptr, BufferedStackTrace *stack) { in QuarantineChunk()
677 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
717 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
742 void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in Calloc()
756 void ReportInvalidFree(void *ptr, u8 chunk_state, BufferedStackTrace *stack) { in ReportInvalidFree()
[all …]
Dasan_stack.h36 BufferedStackTrace stack; \
50 BufferedStackTrace stack; \
/external/compiler-rt/lib/asan/
Dasan_report.h57 BufferedStackTrace *free_stack);
58 void ReportDoubleFree(uptr addr, BufferedStackTrace *free_stack);
59 void ReportFreeNotMalloced(uptr addr, BufferedStackTrace *free_stack);
60 void ReportAllocTypeMismatch(uptr addr, BufferedStackTrace *free_stack,
63 void ReportMallocUsableSizeNotOwned(uptr addr, BufferedStackTrace *stack);
65 BufferedStackTrace *stack);
69 BufferedStackTrace *stack);
71 BufferedStackTrace *stack);
74 BufferedStackTrace *stack);
82 BufferedStackTrace *stack);
[all …]
Dasan_allocator.h163 void *asan_memalign(uptr alignment, uptr size, BufferedStackTrace *stack,
165 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
166 void asan_sized_free(void *ptr, uptr size, BufferedStackTrace *stack,
169 void *asan_malloc(uptr size, BufferedStackTrace *stack);
170 void *asan_calloc(uptr nmemb, uptr size, BufferedStackTrace *stack);
171 void *asan_realloc(void *p, uptr size, BufferedStackTrace *stack);
172 void *asan_valloc(uptr size, BufferedStackTrace *stack);
173 void *asan_pvalloc(uptr size, BufferedStackTrace *stack);
176 BufferedStackTrace *stack);
Dasan_stack.h34 void GetStackTraceWithPcBpAndContext(BufferedStackTrace *stack, uptr max_depth, in GetStackTraceWithPcBpAndContext()
70 BufferedStackTrace stack; \
86 BufferedStackTrace stack; \
91 BufferedStackTrace stack; \
Dasan_allocator.cc323 void *Allocate(uptr size, uptr alignment, BufferedStackTrace *stack, in Allocate()
463 BufferedStackTrace *stack) { in AtomicallySetQuarantineFlagIfAllocated()
479 void QuarantineChunk(AsanChunk *m, void *ptr, BufferedStackTrace *stack, in QuarantineChunk()
511 void Deallocate(void *ptr, uptr delete_size, BufferedStackTrace *stack, in Deallocate()
539 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
564 void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in Calloc()
575 void ReportInvalidFree(void *ptr, u8 chunk_state, BufferedStackTrace *stack) { in ReportInvalidFree()
719 void *asan_memalign(uptr alignment, uptr size, BufferedStackTrace *stack, in asan_memalign()
724 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
728 void asan_sized_free(void *ptr, uptr size, BufferedStackTrace *stack, in asan_sized_free()
[all …]
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_allocator.h81 void *memprof_memalign(uptr alignment, uptr size, BufferedStackTrace *stack,
83 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
85 BufferedStackTrace *stack, AllocType alloc_type);
87 void *memprof_malloc(uptr size, BufferedStackTrace *stack);
88 void *memprof_calloc(uptr nmemb, uptr size, BufferedStackTrace *stack);
89 void *memprof_realloc(void *p, uptr size, BufferedStackTrace *stack);
91 BufferedStackTrace *stack);
92 void *memprof_valloc(uptr size, BufferedStackTrace *stack);
93 void *memprof_pvalloc(uptr size, BufferedStackTrace *stack);
96 BufferedStackTrace *stack);
[all …]
Dmemprof_allocator.cpp513 void *Allocate(uptr size, uptr alignment, BufferedStackTrace *stack, in Allocate()
612 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
659 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
679 void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in Calloc()
694 BufferedStackTrace *stack) { in CommitBack()
735 void Purge(BufferedStackTrace *stack) { allocator.ForceReleaseToOS(); } in Purge()
763 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free()
768 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete()
772 void *memprof_malloc(uptr size, BufferedStackTrace *stack) { in memprof_malloc()
776 void *memprof_calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in memprof_calloc()
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.h20 struct BufferedStackTrace;
101 struct BufferedStackTrace : public StackTrace { struct
105 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace() argument
147 BufferedStackTrace(const BufferedStackTrace &) = delete; argument
148 void operator=(const BufferedStackTrace &) = delete; argument
Dsanitizer_symbolizer_report.cpp99 InternalMmapVector<BufferedStackTrace> stack_buffer(1); in ReportMmapWriteExec()
100 BufferedStackTrace *stack = stack_buffer.data(); in ReportMmapWriteExec()
181 InternalMmapVector<BufferedStackTrace> stack_buffer(1); in ReportStackOverflowImpl()
182 BufferedStackTrace *stack = stack_buffer.data(); in ReportStackOverflowImpl()
220 InternalMmapVector<BufferedStackTrace> stack_buffer(1); in ReportDeadlySignalImpl()
221 BufferedStackTrace *stack = stack_buffer.data(); in ReportDeadlySignalImpl()
Dsanitizer_stacktrace.cpp57 void BufferedStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { in Init()
94 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, in UnwindFast()
148 void BufferedStackTrace::PopStackFrames(uptr count) { in PopStackFrames()
158 uptr BufferedStackTrace::LocatePcInTrace(uptr pc) { in LocatePcInTrace()
Dsanitizer_symbolizer_markup.cpp111 BufferedStackTrace *stack;
125 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow()
140 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow()
Dsanitizer_unwind_linux_libcdep.cpp74 BufferedStackTrace *stack;
126 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow()
151 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow()
Dsanitizer_unwind_win.cpp27 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow()
46 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.h90 struct BufferedStackTrace : public StackTrace { struct
94 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace() argument
109 BufferedStackTrace(const BufferedStackTrace &);
110 void operator=(const BufferedStackTrace &); argument
Dsanitizer_stacktrace.cc34 void BufferedStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { in Init()
67 void BufferedStackTrace::FastUnwindStack(uptr pc, uptr bp, uptr stack_top, in FastUnwindStack()
113 void BufferedStackTrace::PopStackFrames(uptr count) { in PopStackFrames()
121 uptr BufferedStackTrace::LocatePcInTrace(uptr pc) { in LocatePcInTrace()
Dsanitizer_unwind_linux_libcdep.cc103 BufferedStackTrace *stack;
121 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack()
140 void BufferedStackTrace::SlowUnwindStackWithContext(uptr pc, void *context, in SlowUnwindStackWithContext()
/external/compiler-rt/lib/asan/tests/
Dasan_noinst_test.cc48 BufferedStackTrace stack1; in MallocStress()
53 BufferedStackTrace stack2; in MallocStress()
58 BufferedStackTrace stack3; in MallocStress()
136 BufferedStackTrace stack; in TEST()
157 BufferedStackTrace stack; in ThreadedQuarantineTestWorker()
184 BufferedStackTrace stack; in ThreadedOneSizeMallocStress()
237 BufferedStackTrace stack; in TEST()
/external/llvm-project/compiler-rt/lib/asan/tests/
Dasan_noinst_test.cpp49 BufferedStackTrace stack1; in MallocStress()
54 BufferedStackTrace stack2; in MallocStress()
59 BufferedStackTrace stack3; in MallocStress()
137 BufferedStackTrace stack; in TEST()
159 BufferedStackTrace stack; in ThreadedQuarantineTestWorker()
194 BufferedStackTrace stack; in ThreadedOneSizeMallocStress()
247 BufferedStackTrace stack; in TEST()
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_diag_standalone.cpp19 void __sanitizer::BufferedStackTrace::UnwindImpl( in UnwindImpl()
34 BufferedStackTrace stack; in __sanitizer_print_stack_trace()
Dubsan_signals_standalone.cpp41 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
47 BufferedStackTrace *stack) { in OnStackUnwind()

123