reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h
   33 struct BufferedStackTrace;
projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
   19 struct BufferedStackTrace;

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  136   QuarantineCallback(AllocatorCache *cache, BufferedStackTrace *stack)
  181   BufferedStackTrace* const stack_;
  398   void *Allocate(uptr size, uptr alignment, BufferedStackTrace *stack,
  550                                    BufferedStackTrace *stack) {
  566   void QuarantineChunk(AsanChunk *m, void *ptr, BufferedStackTrace *stack) {
  610                   BufferedStackTrace *stack, AllocType alloc_type) {
  650   void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) {
  675   void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) {
  689   void ReportInvalidFree(void *ptr, u8 chunk_state, BufferedStackTrace *stack) {
  696   void CommitBack(AsanThreadLocalMallocStorage *ms, BufferedStackTrace *stack) {
  758   void Purge(BufferedStackTrace *stack) {
  865 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) {
  870                  BufferedStackTrace *stack, AllocType alloc_type) {
  874 void *asan_malloc(uptr size, BufferedStackTrace *stack) {
  878 void *asan_calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) {
  883                         BufferedStackTrace *stack) {
  893 void *asan_realloc(void *p, uptr size, BufferedStackTrace *stack) {
  907 void *asan_valloc(uptr size, BufferedStackTrace *stack) {
  912 void *asan_pvalloc(uptr size, BufferedStackTrace *stack) {
  926 void *asan_memalign(uptr alignment, uptr size, BufferedStackTrace *stack,
  938 void *asan_aligned_alloc(uptr alignment, uptr size, BufferedStackTrace *stack) {
  950                         BufferedStackTrace *stack) {
projects/compiler-rt/lib/asan/asan_allocator.h
  203 void *asan_memalign(uptr alignment, uptr size, BufferedStackTrace *stack,
  205 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
  207                  BufferedStackTrace *stack, AllocType alloc_type);
  209 void *asan_malloc(uptr size, BufferedStackTrace *stack);
  210 void *asan_calloc(uptr nmemb, uptr size, BufferedStackTrace *stack);
  211 void *asan_realloc(void *p, uptr size, BufferedStackTrace *stack);
  213                         BufferedStackTrace *stack);
  214 void *asan_valloc(uptr size, BufferedStackTrace *stack);
  215 void *asan_pvalloc(uptr size, BufferedStackTrace *stack);
  217 void *asan_aligned_alloc(uptr alignment, uptr size, BufferedStackTrace *stack);
  219                         BufferedStackTrace *stack);
projects/compiler-rt/lib/asan/asan_errors.cpp
   25                           BufferedStackTrace *stack) {
projects/compiler-rt/lib/asan/asan_errors.h
   68   const BufferedStackTrace *second_free_stack;
   72   ErrorDoubleFree(u32 tid, BufferedStackTrace *stack, uptr addr)
   82   const BufferedStackTrace *free_stack;
   88   ErrorNewDeleteTypeMismatch(u32 tid, BufferedStackTrace *stack, uptr addr,
  100   const BufferedStackTrace *free_stack;
  104   ErrorFreeNotMalloced(u32 tid, BufferedStackTrace *stack, uptr addr)
  112   const BufferedStackTrace *dealloc_stack;
  117   ErrorAllocTypeMismatch(u32 tid, BufferedStackTrace *stack, uptr addr,
  128   const BufferedStackTrace *stack;
  132   ErrorMallocUsableSizeNotOwned(u32 tid, BufferedStackTrace *stack_, uptr addr)
  140   const BufferedStackTrace *stack;
  144   ErrorSanitizerGetAllocatedSizeNotOwned(u32 tid, BufferedStackTrace *stack_,
  153   const BufferedStackTrace *stack;
  158   ErrorCallocOverflow(u32 tid, BufferedStackTrace *stack_, uptr count_,
  168   const BufferedStackTrace *stack;
  173   ErrorReallocArrayOverflow(u32 tid, BufferedStackTrace *stack_, uptr count_,
  183   const BufferedStackTrace *stack;
  187   ErrorPvallocOverflow(u32 tid, BufferedStackTrace *stack_, uptr size_)
  195   const BufferedStackTrace *stack;
  199   ErrorInvalidAllocationAlignment(u32 tid, BufferedStackTrace *stack_,
  208   const BufferedStackTrace *stack;
  213   ErrorInvalidAlignedAllocAlignment(u32 tid, BufferedStackTrace *stack_,
  223   const BufferedStackTrace *stack;
  227   ErrorInvalidPosixMemalignAlignment(u32 tid, BufferedStackTrace *stack_,
  236   const BufferedStackTrace *stack;
  242   ErrorAllocationSizeTooBig(u32 tid, BufferedStackTrace *stack_,
  253   const BufferedStackTrace *stack;
  256   ErrorRssLimitExceeded(u32 tid, BufferedStackTrace *stack_)
  263   const BufferedStackTrace *stack;
  267   ErrorOutOfMemory(u32 tid, BufferedStackTrace *stack_, uptr requested_size_)
  275   const BufferedStackTrace *stack;
  282   ErrorStringFunctionMemoryRangesOverlap(u32 tid, BufferedStackTrace *stack_,
  301   const BufferedStackTrace *stack;
  306   ErrorStringFunctionSizeOverflow(u32 tid, BufferedStackTrace *stack_,
  316   const BufferedStackTrace *stack;
  322                                               BufferedStackTrace *stack_,
projects/compiler-rt/lib/asan/asan_report.cpp
  216 void ReportDoubleFree(uptr addr, BufferedStackTrace *free_stack) {
  224                                  BufferedStackTrace *free_stack) {
  231 void ReportFreeNotMalloced(uptr addr, BufferedStackTrace *free_stack) {
  237 void ReportAllocTypeMismatch(uptr addr, BufferedStackTrace *free_stack,
  246 void ReportMallocUsableSizeNotOwned(uptr addr, BufferedStackTrace *stack) {
  253                                              BufferedStackTrace *stack) {
  260 void ReportCallocOverflow(uptr count, uptr size, BufferedStackTrace *stack) {
  267                                 BufferedStackTrace *stack) {
  273 void ReportPvallocOverflow(uptr size, BufferedStackTrace *stack) {
  280                                       BufferedStackTrace *stack) {
  288                                         BufferedStackTrace *stack) {
  296                                          BufferedStackTrace *stack) {
  304                                 BufferedStackTrace *stack) {
  311 void ReportRssLimitExceeded(BufferedStackTrace *stack) {
  317 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack) {
  326                                              BufferedStackTrace *stack) {
  335                                       BufferedStackTrace *stack) {
  344                                                   BufferedStackTrace *stack) {
  432                                BufferedStackTrace *stack) {
projects/compiler-rt/lib/asan/asan_report.h
   54                                  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);
   70                                         BufferedStackTrace *stack);
   72                                          BufferedStackTrace *stack);
   74                                 BufferedStackTrace *stack);
   75 void ReportRssLimitExceeded(BufferedStackTrace *stack);
   76 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack);
   80                                              BufferedStackTrace *stack);
   82                                       BufferedStackTrace *stack);
   85                                                   BufferedStackTrace *stack);
   93                                BufferedStackTrace *stack);
   96                                BufferedStackTrace *stack);
projects/compiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
   33   __sanitizer::BufferedStackTrace Trace;
projects/compiler-rt/lib/hwasan/hwasan_linux.cpp
  426   InternalMmapVector<BufferedStackTrace> stack_buffer(1);
  427   BufferedStackTrace *stack = stack_buffer.data();
  464                           BufferedStackTrace *stack) {
projects/compiler-rt/lib/lsan/lsan.cpp
   91                           BufferedStackTrace *stack) {
projects/compiler-rt/lib/msan/msan.cpp
  380                           BufferedStackTrace *stack) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h
  304                                               BufferedStackTrace *stack);
  452   T &operator[](uptr i) {
  456   const T &operator[](uptr i) const {
  460   void push_back(const T &element) {
  468   T &back() {
  479   const T *data() const {
  482   T *data() {
  485   uptr capacity() const { return capacity_bytes_ / sizeof(T); }
  494       internal_memset(&data_[size_], 0, sizeof(T) * (new_size - size_));
  502   const T *begin() const {
  505   T *begin() {
  508   const T *end() const {
  511   T *end() {
  526         RoundUpTo(new_capacity * sizeof(T), GetPageSizeCached());
  527     T *new_data = (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector");
  528     internal_memcpy(new_data, data_, size_ * sizeof(T));
  534   T *data_;
  553 class InternalMmapVector : public InternalMmapVectorNoCtor<T> {
projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
  140   BufferedStackTrace(const BufferedStackTrace &) = delete;
  141   void operator=(const BufferedStackTrace &) = delete;
projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
   98   InternalMmapVector<BufferedStackTrace> stack_buffer(1);
   99   BufferedStackTrace *stack = stack_buffer.data();
  180   InternalMmapVector<BufferedStackTrace> stack_buffer(1);
  181   BufferedStackTrace *stack = stack_buffer.data();
  219   InternalMmapVector<BufferedStackTrace> stack_buffer(1);
  220   BufferedStackTrace *stack = stack_buffer.data();
projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
   74   BufferedStackTrace *stack;
projects/compiler-rt/lib/tsan/dd/dd_rtl.cpp
   22   BufferedStackTrace stack;
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
  340                           BufferedStackTrace *stack) {
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h
  636 void ExtractTagFromStack(StackTraceTy *stack, uptr *tag = nullptr) {
  647 void ObtainCurrentStack(ThreadState *thr, uptr toppc, StackTraceTy *stack,
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
  734   BufferedStackTrace *ptrace =
  735       new(internal_alloc(MBlockStackTrace, sizeof(BufferedStackTrace)))
  736           BufferedStackTrace();
projects/compiler-rt/lib/tsan/rtl/tsan_trace.h
   47   BufferedStackTrace stack0;  // Start stack for the trace.
projects/compiler-rt/lib/ubsan/ubsan_diag.cpp
   35 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
   52   BufferedStackTrace stack;
projects/compiler-rt/lib/ubsan/ubsan_diag_standalone.cpp
   34   BufferedStackTrace stack;
projects/compiler-rt/lib/ubsan/ubsan_signals_standalone.cpp
   41 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
   47                           BufferedStackTrace *stack) {