/freebsd-13-stable/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);
|
H A D | sanitizer_allocator_report.cpp | 24 const StackTrace *stack_) 39 const StackTrace* const stack; 44 const StackTrace *stack) { 55 const StackTrace *stack) { 66 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack) { 77 const StackTrace *stack) { 87 const StackTrace *stack) { 105 const StackTrace *stack) { 119 const StackTrace *stack) { 128 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stac [all...] |
H A D | sanitizer_stackdepot.h | 37 u32 StackDepotPut(StackTrace stack); 38 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack); 40 StackTrace StackDepotGet(u32 id); 52 StackTrace Get(u32 id);
|
H A D | sanitizer_stacktrace.h | 42 struct StackTrace { struct in namespace:__sanitizer 52 StackTrace() : trace(nullptr), size(0), tag(0) {} function in struct:__sanitizer::StackTrace 53 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} function in struct:__sanitizer::StackTrace 54 StackTrace(const uptr *trace, u32 size, u32 tag) function in struct:__sanitizer::StackTrace 77 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { 93 // StackTrace that owns the buffer used to store the addresses. 94 struct BufferedStackTrace : public StackTrace { 98 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} 122 *static_cast<StackTrace *>(this) = StackTrace(trace_buffe [all...] |
H A D | sanitizer_stackdepot.cpp | 37 typedef StackTrace args_type; 97 u32 StackDepotPut(StackTrace stack) { 102 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack) { 106 StackTrace StackDepotGet(u32 id) { 138 StackTrace StackDepotReverseMap::Get(u32 id) { 140 return StackTrace(); 145 return StackTrace();
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
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.h | 83 void *hwasan_malloc(uptr size, StackTrace *stack); 84 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack); 85 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack); 86 void *hwasan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack); 87 void *hwasan_valloc(uptr size, StackTrace *stack); 88 void *hwasan_pvalloc(uptr size, StackTrace *stack); 89 void *hwasan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack); 90 void *hwasan_memalign(uptr alignment, uptr size, StackTrace *stack); 92 StackTrace *stack); 93 void hwasan_free(void *ptr, StackTrace *stac [all...] |
H A D | hwasan_malloc_bisect.h | 18 static u32 malloc_hash(StackTrace *stack, uptr orig_size) { 31 static INLINE bool malloc_bisect(StackTrace *stack, uptr orig_size) {
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_suppressions.h | 24 bool IsStackTraceSuppressed(const StackTrace *stack);
|
H A D | asan_stack.h | 41 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 45 stack.Unwind(StackTrace::GetCurrentPc(), \
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_report.h | 23 void ReportUMR(StackTrace *stack, u32 origin); 24 void ReportExpectedUMRNotFound(StackTrace *stack);
|
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_allocator.cpp | 154 static void *MsanAllocate(StackTrace *stack, uptr size, uptr alignment, 187 stack->tag = StackTrace::TAG_ALLOC; 196 void MsanDeallocate(StackTrace *stack, void *p) { 207 stack->tag = StackTrace::TAG_DEALLOC; 223 void *MsanReallocate(StackTrace *stack, void *old_p, uptr new_size, 233 stack->tag = StackTrace::TAG_ALLOC; 248 void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size) { 265 void *msan_malloc(uptr size, StackTrace *stack) { 269 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack) { 273 void *msan_realloc(void *ptr, uptr size, StackTrace *stac [all...] |
H A D | msan_origin.h | 85 Origin getNextChainedOrigin(StackTrace *stack) const { 93 StackTrace getStackTraceForHeapOrigin() const { 102 static Origin CreateHeapOrigin(StackTrace *stack) { 109 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) {
|
H A D | msan.h | 300 void MsanDeallocate(StackTrace *stack, void *ptr); 302 void *msan_malloc(uptr size, StackTrace *stack); 303 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack); 304 void *msan_realloc(void *ptr, uptr size, StackTrace *stack); 305 void *msan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack); 306 void *msan_valloc(uptr size, StackTrace *stack); 307 void *msan_pvalloc(uptr size, StackTrace *stack); 308 void *msan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack); 309 void *msan_memalign(uptr alignment, uptr size, StackTrace *stack); 311 StackTrace *stac [all...] |
H A D | msan_report.cpp | 54 pc = StackTrace::GetNextInstructionPc(pc); 55 StackTrace(&pc, 1).Print(); 64 StackTrace stack; 75 StackTrace stack = o.getStackTraceForHeapOrigin(); 77 case StackTrace::TAG_ALLOC: 81 case StackTrace::TAG_DEALLOC: 98 void ReportUMR(StackTrace *stack, u32 origin) { 114 void ReportExpectedUMRNotFound(StackTrace *stack) {
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
H A D | backtrace_sanitizer_common.cpp | 25 if (!StackTrace::WillUseFastUnwind(request_fast)) { 49 __sanitizer::StackTrace StackTrace; local 50 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace); 51 StackTrace.size = TraceLength; 53 if (StackTrace.size == 0) { 58 StackTrace.Print();
|
/freebsd-13-stable/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 [all...] |
H A D | lsan_allocator.cpp | 60 static void RegisterAllocation(const StackTrace &stack, void *p, uptr size) { 77 static void *ReportAllocationSizeTooBig(uptr size, const StackTrace &stack) { 85 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, 107 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { 124 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, 148 const StackTrace &stack) { 163 void *lsan_aligned_alloc(uptr alignment, uptr size, const StackTrace &stack) { 173 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack) { 183 void *lsan_malloc(uptr size, const StackTrace &stack) { 191 void *lsan_realloc(void *p, uptr size, const StackTrace [all...] |
H A D | lsan.h | 25 stack.Unwind(StackTrace::GetCurrentPc(), \
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_stack_trace.h | 20 // StackTrace which calls malloc/free to allocate the buffer for 22 struct VarSizeStackTrace : public StackTrace {
|
H A D | tsan_stack_trace.cpp | 19 : StackTrace(nullptr, 0), trace_buffer(nullptr) {} 57 if (StackTrace::WillUseFastUnwind(request_fast)) {
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_diag_standalone.cpp | 23 if (StackTrace::WillUseFastUnwind(request_fast)) {
|
H A D | ubsan_signals_standalone.cpp | 49 StackTrace::GetNextInstructionPc(sig.pc), sig.bp,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Signals.inc | 467 void **StackTrace; 488 intptr_t addr = (intptr_t)data->StackTrace[j]; 500 static bool findModulesAndOffsets(void **StackTrace, int Depth, 504 DlIteratePhdrData data = {StackTrace, Depth, true, 512 static bool findModulesAndOffsets(void **StackTrace, int Depth, 521 static int unwindBacktrace(void **StackTrace, int MaxEntries) { 536 StackTrace[Entries] = IP; 559 static void *StackTrace[256]; 564 depth = backtrace(StackTrace, static_cast<int>(array_lengthof(StackTrace))); [all...] |