| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_report.h | 23 const StackTrace *stack); 25 const StackTrace *stack); 26 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack); 28 const StackTrace *stack); 30 const StackTrace *stack); 32 const StackTrace *stack); 34 const StackTrace *stack); 35 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack); 36 void NORETURN ReportRssLimitExceeded(const StackTrace *stack);
|
| H A D | sanitizer_allocator_report.cpp | 24 const StackTrace *stack_) in ScopedAllocatorErrorReport() 39 const StackTrace* const stack; 44 const StackTrace *stack) { in ReportCallocOverflow() 55 const StackTrace *stack) { in ReportReallocArrayOverflow() 66 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack) { in ReportPvallocOverflow() 77 const StackTrace *stack) { in ReportInvalidAllocationAlignment() 87 const StackTrace *stack) { in ReportInvalidAlignedAllocAlignment() 105 const StackTrace *stack) { in ReportInvalidPosixMemalignAlignment() 119 const StackTrace *stack) { in ReportAllocationSizeTooBig() 128 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack) { in ReportOutOfMemory() [all …]
|
| H A D | sanitizer_stacktrace.h | 42 struct StackTrace { struct 52 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() argument 53 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() function 54 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() function 85 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { in GetPreviousInstructionPc() argument 110 struct BufferedStackTrace : public StackTrace { 114 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace() 138 *static_cast<StackTrace *>(this) = StackTrace(trace_buffer, 0); in Reset() 192 uptr pc = StackTrace::GetCurrentPc() 218 # define GET_CURRENT_PC() StackTrace::GetCurrentPc()
|
| H A D | sanitizer_stackdepot.cpp | 37 typedef StackTrace args_type; 97 u32 StackDepotPut(StackTrace stack) { in StackDepotPut() 102 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack) { in StackDepotPut_WithHandle() 106 StackTrace StackDepotGet(u32 id) { in StackDepotGet() 144 StackTrace StackDepotReverseMap::Get(u32 id) { in Get() 146 return StackTrace(); in Get() 150 return StackTrace(); in Get()
|
| H A D | sanitizer_stackdepot.h | 37 u32 StackDepotPut(StackTrace stack); 38 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack); 40 StackTrace StackDepotGet(u32 id); 53 StackTrace Get(u32 id);
|
| H A D | sanitizer_stacktrace_libcdep.cpp | 93 void StackTrace::PrintTo(InternalScopedString *output) const { in PrintTo() 120 uptr StackTrace::PrintTo(char *out_buf, uptr out_buf_size) const { in PrintTo() 130 void StackTrace::Print() const { in Print() 194 pc = StackTrace::GetPreviousInstructionPc(pc); in __sanitizer_symbolize_pc()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_allocator.h | 24 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, 27 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, 106 const StackTrace &stack); 107 void *lsan_aligned_alloc(uptr alignment, uptr size, const StackTrace &stack); 108 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack); 109 void *lsan_malloc(uptr size, const StackTrace &stack); 111 void *lsan_realloc(void *p, uptr size, const StackTrace &stack); 113 const StackTrace &stack); 114 void *lsan_calloc(uptr nmemb, uptr size, const StackTrace &stack); 115 void *lsan_valloc(uptr size, const StackTrace &stack); [all …]
|
| H A D | lsan_allocator.cpp | 85 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, in Allocate() 107 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc() 124 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, in Reallocate() 152 const StackTrace &stack) { in lsan_posix_memalign() 177 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack) { in lsan_memalign() 187 void *lsan_malloc(uptr size, const StackTrace &stack) { in lsan_malloc() 195 void *lsan_realloc(void *p, uptr size, const StackTrace &stack) { in lsan_realloc() 200 const StackTrace &stack) { in lsan_reallocarray() 210 void *lsan_calloc(uptr nmemb, uptr size, const StackTrace &stack) { in lsan_calloc() 214 void *lsan_valloc(uptr size, const StackTrace &stack) { in lsan_valloc() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan.h | 111 void *hwasan_malloc(uptr size, StackTrace *stack); 112 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack); 113 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack); 114 void *hwasan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack); 115 void *hwasan_valloc(uptr size, StackTrace *stack); 116 void *hwasan_pvalloc(uptr size, StackTrace *stack); 117 void *hwasan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack); 118 void *hwasan_memalign(uptr alignment, uptr size, StackTrace *stack); 120 StackTrace *stack); 121 void hwasan_free(void *ptr, StackTrace *stack); [all …]
|
| H A D | hwasan_allocator.cpp | 204 static void HwasanDeallocate(StackTrace *stack, void *tagged_ptr) { in HwasanDeallocate() 279 static void *HwasanReallocate(StackTrace *stack, void *tagged_ptr_old, in HwasanReallocate() 298 static void *HwasanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in HwasanCalloc() 331 void *hwasan_malloc(uptr size, StackTrace *stack) { in hwasan_malloc() 335 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in hwasan_calloc() 339 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack) { in hwasan_realloc() 359 void *hwasan_valloc(uptr size, StackTrace *stack) { in hwasan_valloc() 364 void *hwasan_pvalloc(uptr size, StackTrace *stack) { in hwasan_pvalloc() 387 void *hwasan_memalign(uptr alignment, uptr size, StackTrace *stack) { in hwasan_memalign() 398 StackTrace *stack) { in hwasan_posix_memalign() [all …]
|
| H A D | hwasan_report.h | 24 void ReportTagMismatch(StackTrace *stack, uptr addr, uptr access_size, 26 void ReportInvalidFree(StackTrace *stack, uptr addr); 27 void ReportTailOverwritten(StackTrace *stack, uptr addr, uptr orig_size,
|
| H A D | hwasan_malloc_bisect.h | 18 static u32 malloc_hash(StackTrace *stack, uptr orig_size) { in malloc_hash() 31 static inline bool malloc_bisect(StackTrace *stack, uptr orig_size) { in malloc_bisect()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
| H A D | backtrace_sanitizer_common.cpp | 25 if (!StackTrace::WillUseFastUnwind(request_fast)) in UnwindImpl() 66 __sanitizer::StackTrace StackTrace; in PrintBacktrace() local 67 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace); in PrintBacktrace() 68 StackTrace.size = TraceLength; in PrintBacktrace() 70 if (StackTrace.size == 0) { in PrintBacktrace() 75 StackTrace.Print(); in PrintBacktrace()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_allocator.cpp | 187 stack->tag = StackTrace::TAG_ALLOC; in MsanAllocate() 196 void MsanDeallocate(StackTrace *stack, void *p) { in MsanDeallocate() 207 stack->tag = StackTrace::TAG_DEALLOC; in MsanDeallocate() 233 stack->tag = StackTrace::TAG_ALLOC; in MsanReallocate() 248 static void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in MsanCalloc() 265 void *msan_malloc(uptr size, StackTrace *stack) { in msan_malloc() 269 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in msan_calloc() 273 void *msan_realloc(void *ptr, uptr size, StackTrace *stack) { in msan_realloc() 293 void *msan_valloc(uptr size, StackTrace *stack) { in msan_valloc() 297 void *msan_pvalloc(uptr size, StackTrace *stack) { in msan_pvalloc() [all …]
|
| H A D | msan.h | 299 void MsanDeallocate(StackTrace *stack, void *ptr); 301 void *msan_malloc(uptr size, StackTrace *stack); 302 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack); 303 void *msan_realloc(void *ptr, uptr size, StackTrace *stack); 305 void *msan_valloc(uptr size, StackTrace *stack); 306 void *msan_pvalloc(uptr size, StackTrace *stack); 307 void *msan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack); 308 void *msan_memalign(uptr alignment, uptr size, StackTrace *stack); 310 StackTrace *stack); 335 u32 ChainOrigin(u32 id, StackTrace *stack); [all …]
|
| H A D | msan_poisoning.h | 31 void CopyOrigin(const void *dst, const void *src, uptr size, StackTrace *stack); 36 StackTrace *stack); 41 StackTrace *stack); 45 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack); 54 void PoisonMemory(const void *dst, uptr size, StackTrace *stack);
|
| H A D | msan_report.cpp | 54 pc = StackTrace::GetNextInstructionPc(pc); in DescribeStackOrigin() 55 StackTrace(&pc, 1).Print(); in DescribeStackOrigin() 64 StackTrace stack; in DescribeOrigin() 75 StackTrace stack = o.getStackTraceForHeapOrigin(); in DescribeOrigin() 77 case StackTrace::TAG_ALLOC: in DescribeOrigin() 81 case StackTrace::TAG_DEALLOC: in DescribeOrigin() 98 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR() 114 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
|
| H A D | msan_origin.h | 85 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin() 93 StackTrace getStackTraceForHeapOrigin() const { in getStackTraceForHeapOrigin() 102 static Origin CreateHeapOrigin(StackTrace *stack) { in CreateHeapOrigin() 109 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin()
|
| H A D | msan_poisoning.cpp | 43 StackTrace *stack) { in CopyOrigin() 98 StackTrace *stack) { in ReverseCopyOrigin() 154 StackTrace *stack) { in MoveOrigin() 167 StackTrace *stack) { in MoveShadowAndOrigin() 180 StackTrace *stack) { in CopyShadowAndOrigin() 191 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack) { in CopyMemory() 240 void PoisonMemory(const void *dst, uptr size, StackTrace *stack) { in PoisonMemory()
|
| H A D | msan_report.h | 23 void ReportUMR(StackTrace *stack, u32 origin); 24 void ReportExpectedUMRNotFound(StackTrace *stack);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Signals.inc | 468 void **StackTrace; 489 intptr_t addr = (intptr_t)data->StackTrace[j]; 505 DlIteratePhdrData data = {StackTrace, Depth, true, 537 StackTrace[Entries] = IP; 560 static void *StackTrace[256]; 565 depth = backtrace(StackTrace, static_cast<int>(array_lengthof(StackTrace))); 570 depth = unwindBacktrace(StackTrace, 588 dladdr(StackTrace[i], &dlinfo); 600 dladdr(StackTrace[i], &dlinfo); 609 (unsigned long)StackTrace[i]); [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_stack.h | 41 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 46 stack.Unwind(StackTrace::GetCurrentPc(), GET_CURRENT_FRAME(), nullptr, \
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_stack.h | 41 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 45 stack.Unwind(StackTrace::GetCurrentPc(), \
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Signals.cpp | 120 static bool findModulesAndOffsets(void **StackTrace, int Depth, 135 static bool printSymbolizedStackTrace(StringRef Argv0, void **StackTrace, in printSymbolizedStackTrace() argument 171 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(), in printSymbolizedStackTrace() 218 << ' ' << format_ptr(StackTrace[i]) << ' '; in printSymbolizedStackTrace()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_stack_trace.cpp | 19 : StackTrace(nullptr, 0), trace_buffer(nullptr) {} in VarSizeStackTrace() 58 bool fast = StackTrace::WillUseFastUnwind(request_fast); in UnwindImpl()
|