| /freebsd-12.1/contrib/compiler-rt/lib/hwasan/ |
| H A D | hwasan.h | 81 void *hwasan_malloc(uptr size, StackTrace *stack); 82 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack); 83 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack); 84 void *hwasan_valloc(uptr size, StackTrace *stack); 85 void *hwasan_pvalloc(uptr size, StackTrace *stack); 86 void *hwasan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack); 87 void *hwasan_memalign(uptr alignment, uptr size, StackTrace *stack); 89 StackTrace *stack); 90 void hwasan_free(void *ptr, StackTrace *stack); 112 u32 ChainOrigin(u32 id, StackTrace *stack); [all …]
|
| H A D | hwasan_allocator.cc | 207 static void HwasanDeallocate(StackTrace *stack, void *tagged_ptr) { in HwasanDeallocate() 261 static void *HwasanReallocate(StackTrace *stack, void *tagged_ptr_old, in HwasanReallocate() 279 static void *HwasanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in HwasanCalloc() 312 void *hwasan_malloc(uptr size, StackTrace *stack) { in hwasan_malloc() 316 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in hwasan_calloc() 320 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack) { in hwasan_realloc() 338 void *hwasan_valloc(uptr size, StackTrace *stack) { in hwasan_valloc() 343 void *hwasan_pvalloc(uptr size, StackTrace *stack) { in hwasan_pvalloc() 366 void *hwasan_memalign(uptr alignment, uptr size, StackTrace *stack) { in hwasan_memalign() 377 StackTrace *stack) { in hwasan_posix_memalign() [all …]
|
| H A D | hwasan_report.h | 25 void ReportTagMismatch(StackTrace *stack, uptr addr, uptr access_size, 27 void ReportInvalidFree(StackTrace *stack, uptr addr); 28 void ReportTailOverwritten(StackTrace *stack, uptr addr, uptr orig_size,
|
| H A D | hwasan_report.cc | 76 static StackTrace GetStackTraceFromId(u32 id) { in GetStackTraceFromId() 78 StackTrace res = StackDepotGet(id); in GetStackTraceFromId() 300 void ReportInvalidFree(StackTrace *stack, uptr tagged_addr) { in ReportInvalidFree() 326 void ReportTailOverwritten(StackTrace *stack, uptr tagged_addr, uptr orig_size, in ReportTailOverwritten() 386 void ReportTagMismatch(StackTrace *stack, uptr tagged_addr, uptr access_size, in ReportTagMismatch()
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_report.cc | 25 const StackTrace *stack_) in ScopedAllocatorErrorReport() 40 const StackTrace* const stack; 45 const StackTrace *stack) { in ReportCallocOverflow() 55 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack) { in ReportPvallocOverflow() 66 const StackTrace *stack) { in ReportInvalidAllocationAlignment() 76 const StackTrace *stack) { in ReportInvalidAlignedAllocAlignment() 94 const StackTrace *stack) { in ReportInvalidPosixMemalignAlignment() 107 const StackTrace *stack) { in ReportAllocationSizeTooBig() 116 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack) { in ReportOutOfMemory()
|
| H A D | sanitizer_allocator_report.h | 24 const StackTrace *stack); 25 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack); 27 const StackTrace *stack); 29 const StackTrace *stack); 31 const StackTrace *stack); 33 const StackTrace *stack); 34 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack);
|
| H A D | sanitizer_stacktrace.h | 41 struct StackTrace { struct 51 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() argument 52 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() function 53 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() argument 76 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { in GetPreviousInstructionPc() argument 93 struct BufferedStackTrace : public StackTrace { 97 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace() 104 *static_cast<StackTrace *>(this) = StackTrace(trace_buffer, 0); in Reset() 144 uptr pc = StackTrace::GetCurrentPc(); \
|
| H A D | sanitizer_stackdepot.cc | 37 typedef StackTrace args_type; 111 u32 StackDepotPut(StackTrace stack) { in StackDepotPut() 116 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack) { in StackDepotPut_WithHandle() 120 StackTrace StackDepotGet(u32 id) { in StackDepotGet() 152 StackTrace StackDepotReverseMap::Get(u32 id) { in Get() 154 return StackTrace(); in Get() 159 return StackTrace(); in Get()
|
| H A D | sanitizer_stackdepot.h | 38 u32 StackDepotPut(StackTrace stack); 39 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack); 41 StackTrace StackDepotGet(u32 id); 53 StackTrace Get(u32 id);
|
| H A D | sanitizer_stacktrace.cc | 20 uptr StackTrace::GetNextInstructionPc(uptr pc) { in GetNextInstructionPc() 31 uptr StackTrace::GetCurrentPc() { in GetCurrentPc()
|
| /freebsd-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan_allocator.h | 25 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, 28 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, 120 const StackTrace &stack); 121 void *lsan_aligned_alloc(uptr alignment, uptr size, const StackTrace &stack); 122 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack); 123 void *lsan_malloc(uptr size, const StackTrace &stack); 125 void *lsan_realloc(void *p, uptr size, const StackTrace &stack); 126 void *lsan_calloc(uptr nmemb, uptr size, const StackTrace &stack); 127 void *lsan_valloc(uptr size, const StackTrace &stack); 128 void *lsan_pvalloc(uptr size, const StackTrace &stack);
|
| H A D | lsan_allocator.cc | 54 static void RegisterAllocation(const StackTrace &stack, void *p, uptr size) { in RegisterAllocation() 79 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, in Allocate() 101 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc() 118 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, in Reallocate() 142 const StackTrace &stack) { in lsan_posix_memalign() 167 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack) { in lsan_memalign() 177 void *lsan_malloc(uptr size, const StackTrace &stack) { in lsan_malloc() 185 void *lsan_realloc(void *p, uptr size, const StackTrace &stack) { in lsan_realloc() 189 void *lsan_calloc(uptr nmemb, uptr size, const StackTrace &stack) { in lsan_calloc() 193 void *lsan_valloc(uptr size, const StackTrace &stack) { in lsan_valloc() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/msan/ |
| H A D | msan.h | 287 void MsanDeallocate(StackTrace *stack, void *ptr); 289 void *msan_malloc(uptr size, StackTrace *stack); 290 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack); 291 void *msan_realloc(void *ptr, uptr size, StackTrace *stack); 292 void *msan_valloc(uptr size, StackTrace *stack); 293 void *msan_pvalloc(uptr size, StackTrace *stack); 294 void *msan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack); 295 void *msan_memalign(uptr alignment, uptr size, StackTrace *stack); 297 StackTrace *stack); 325 u32 ChainOrigin(u32 id, StackTrace *stack); [all …]
|
| H A D | msan_allocator.cc | 177 stack->tag = StackTrace::TAG_ALLOC; in MsanAllocate() 186 void MsanDeallocate(StackTrace *stack, void *p) { in MsanDeallocate() 197 stack->tag = StackTrace::TAG_DEALLOC; in MsanDeallocate() 223 stack->tag = StackTrace::TAG_ALLOC; in MsanReallocate() 238 void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in MsanCalloc() 255 void *msan_malloc(uptr size, StackTrace *stack) { in msan_malloc() 259 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in msan_calloc() 263 void *msan_realloc(void *ptr, uptr size, StackTrace *stack) { in msan_realloc() 273 void *msan_valloc(uptr size, StackTrace *stack) { in msan_valloc() 277 void *msan_pvalloc(uptr size, StackTrace *stack) { in msan_pvalloc() [all …]
|
| H A D | msan_poisoning.h | 32 void CopyOrigin(const void *dst, const void *src, uptr size, StackTrace *stack); 37 StackTrace *stack); 42 StackTrace *stack); 46 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack); 55 void PoisonMemory(const void *dst, uptr size, StackTrace *stack);
|
| H A D | msan_report.cc | 55 pc = StackTrace::GetNextInstructionPc(pc); in DescribeStackOrigin() 56 StackTrace(&pc, 1).Print(); in DescribeStackOrigin() 65 StackTrace stack; in DescribeOrigin() 76 StackTrace stack = o.getStackTraceForHeapOrigin(); in DescribeOrigin() 78 case StackTrace::TAG_ALLOC: in DescribeOrigin() 82 case StackTrace::TAG_DEALLOC: in DescribeOrigin() 99 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR() 115 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
|
| H A D | msan_origin.h | 86 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin() 94 StackTrace getStackTraceForHeapOrigin() const { in getStackTraceForHeapOrigin() 103 static Origin CreateHeapOrigin(StackTrace *stack) { in CreateHeapOrigin() 110 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin()
|
| H A D | msan_poisoning.cc | 44 StackTrace *stack) { in CopyOrigin() 99 StackTrace *stack) { in MoveShadowAndOrigin() 109 StackTrace *stack) { in CopyShadowAndOrigin() 117 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack) { in CopyMemory() 166 void PoisonMemory(const void *dst, uptr size, StackTrace *stack) { in PoisonMemory()
|
| H A D | msan_report.h | 24 void ReportUMR(StackTrace *stack, u32 origin); 25 void ReportExpectedUMRNotFound(StackTrace *stack);
|
| /freebsd-12.1/contrib/llvm/lib/Support/Unix/ |
| H A D | Signals.inc | 398 void **StackTrace; 419 intptr_t addr = (intptr_t)data->StackTrace[j]; 435 DlIteratePhdrData data = {StackTrace, Depth, true, 467 StackTrace[Entries] = IP; 490 static void *StackTrace[256]; 495 depth = backtrace(StackTrace, static_cast<int>(array_lengthof(StackTrace))); 500 depth = unwindBacktrace(StackTrace, 512 dladdr(StackTrace[i], &dlinfo); 524 dladdr(StackTrace[i], &dlinfo); 533 (unsigned long)StackTrace[i]); [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | Signals.cpp | 92 static bool findModulesAndOffsets(void **StackTrace, int Depth, 107 static bool printSymbolizedStackTrace(StringRef Argv0, void **StackTrace, in printSymbolizedStackTrace() argument 141 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(), in printSymbolizedStackTrace() 188 << ' ' << format_ptr(StackTrace[i]) << ' '; in printSymbolizedStackTrace()
|
| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_stack.h | 70 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 74 GetStackTrace(&stack, max_size, StackTrace::GetCurrentPc(), \
|
| H A D | asan_descriptions.cc | 175 static StackTrace GetStackTraceFromId(u32 id) { in GetStackTraceFromId() 177 StackTrace res = StackDepotGet(id); in GetStackTraceFromId() 378 StackTrace alloca_stack(&frame_pc, 1); in Print() 418 StackTrace alloc_stack = GetStackTraceFromId(alloc_stack_id); in Print() 426 StackTrace free_stack = GetStackTraceFromId(free_stack_id); in Print()
|
| H A D | asan_debugging.cc | 55 StackTrace stack(nullptr, 0); in AsanGetStack() 69 trace[i] = StackTrace::GetPreviousInstructionPc(stack.trace[i]); in AsanGetStack()
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_report.cc | 33 static ReportStack *SymbolizeStack(StackTrace trace); 48 PrintCurrentStackSlow(StackTrace::GetCurrentPc()); in TsanCheckFailed() 111 StackTrace stack = StackDepotGet(stack_id); in SymbolizeStackId() 117 static ReportStack *SymbolizeStack(StackTrace trace) { in SymbolizeStack() 127 pc1 = StackTrace::GetPreviousInstructionPc(pc); in SymbolizeStack() 160 void ScopedReportBase::AddStack(StackTrace stack, bool suppressable) { in AddStack() 167 StackTrace stack, const MutexSet *mset) { in AddMemoryAccess() 544 bool IsFiredSuppression(Context *ctx, ReportType type, StackTrace trace) { in IsFiredSuppression() 753 PrintCurrentStackSlow(StackTrace::GetCurrentPc()); in __sanitizer_print_stack_trace()
|