Home
last modified time | relevance | path

Searched defs:stack (Results 1 – 25 of 146) sorted by relevance

123456

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_report.cpp39 const StackTrace* const stack; member in __sanitizer::ScopedAllocatorErrorReport
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()
136 void NORETURN ReportRssLimitExceeded(const StackTrace *stack) { in ReportRssLimitExceeded()
H A Dsanitizer_symbolizer_report.cpp73 void ReportErrorSummary(const char *error_type, const StackTrace *stack, in ReportErrorSummary()
106 BufferedStackTrace *stack = stack_buffer.data(); in ReportMmapWriteExec() local
188 BufferedStackTrace *stack = stack_buffer.data(); in ReportStackOverflowImpl() local
227 BufferedStackTrace *stack = stack_buffer.data(); in ReportDeadlySignalImpl() local
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp85 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, in Allocate()
111 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc()
127 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, in Reallocate()
157 const StackTrace &stack) { in lsan_posix_memalign()
182 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack) { in lsan_memalign()
192 void *lsan_malloc(uptr size, const StackTrace &stack) { in lsan_malloc()
200 void *lsan_realloc(void *p, uptr size, const StackTrace &stack) { in lsan_realloc()
205 const StackTrace &stack) { in lsan_reallocarray()
215 void *lsan_calloc(uptr nmemb, uptr size, const StackTrace &stack) { in lsan_calloc()
219 void *lsan_valloc(uptr size, const StackTrace &stack) { in lsan_valloc()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp216 static bool CheckInvalidFree(StackTrace *stack, void *untagged_ptr, in CheckInvalidFree()
227 static void HwasanDeallocate(StackTrace *stack, void *tagged_ptr) { in HwasanDeallocate()
331 static void *HwasanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in HwasanCalloc()
366 void *hwasan_malloc(uptr size, StackTrace *stack) { in hwasan_malloc()
370 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in hwasan_calloc()
374 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack) { in hwasan_realloc()
394 void *hwasan_valloc(uptr size, StackTrace *stack) { in hwasan_valloc()
399 void *hwasan_pvalloc(uptr size, StackTrace *stack) { in hwasan_pvalloc()
422 void *hwasan_memalign(uptr alignment, uptr size, StackTrace *stack) { in hwasan_memalign()
433 StackTrace *stack) { in hwasan_posix_memalign()
[all …]
H A Dhwasan_malloc_bisect.h18 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()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp87 BufferedStackTrace stack; in DFsanAllocate() local
93 BufferedStackTrace stack; in DFsanAllocate() local
110 BufferedStackTrace stack; in DFsanAllocate() local
167 BufferedStackTrace stack; in DFsanCalloc() local
206 BufferedStackTrace stack; in dfsan_reallocarray() local
223 BufferedStackTrace stack; in dfsan_pvalloc() local
236 BufferedStackTrace stack; in dfsan_aligned_alloc() local
247 BufferedStackTrace stack; in dfsan_memalign() local
257 BufferedStackTrace stack; in dfsan_posix_memalign() local
H A Ddfsan_origin.h64 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin()
73 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_poisoning.cpp44 StackTrace *stack) { in CopyOrigin()
99 StackTrace *stack) { in ReverseCopyOrigin()
155 StackTrace *stack) { in MoveOrigin()
168 StackTrace *stack) { in MoveShadowAndOrigin()
181 StackTrace *stack) { in CopyShadowAndOrigin()
192 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack) { in CopyMemory()
241 void PoisonMemory(const void *dst, uptr size, StackTrace *stack) { in PoisonMemory()
H A Dmsan_allocator.cpp154 static void *MsanAllocate(StackTrace *stack, uptr size, uptr alignment, in MsanAllocate()
202 void MsanDeallocate(StackTrace *stack, void *p) { in MsanDeallocate()
256 static void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in MsanCalloc()
273 void *msan_malloc(uptr size, StackTrace *stack) { in msan_malloc()
277 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in msan_calloc()
281 void *msan_realloc(void *ptr, uptr size, StackTrace *stack) { in msan_realloc()
301 void *msan_valloc(uptr size, StackTrace *stack) { in msan_valloc()
305 void *msan_pvalloc(uptr size, StackTrace *stack) { in msan_pvalloc()
318 void *msan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack) { in msan_aligned_alloc()
328 void *msan_memalign(uptr alignment, uptr size, StackTrace *stack) { in msan_memalign()
[all …]
H A Dmsan_origin.h85 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin()
102 static Origin CreateHeapOrigin(StackTrace *stack) { in CreateHeapOrigin()
109 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin()
H A Dmsan_report.cpp64 StackTrace stack; in DescribeOrigin() local
75 StackTrace stack = o.getStackTraceForHeapOrigin(); in DescribeOrigin() local
98 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR()
114 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_report.cpp259 BufferedStackTrace *stack) { in ReportSanitizerGetAllocatedSizeNotOwned()
273 BufferedStackTrace *stack) { in ReportReallocArrayOverflow()
279 void ReportPvallocOverflow(uptr size, BufferedStackTrace *stack) { in ReportPvallocOverflow()
286 BufferedStackTrace *stack) { in ReportInvalidAllocationAlignment()
294 BufferedStackTrace *stack) { in ReportInvalidAlignedAllocAlignment()
302 BufferedStackTrace *stack) { in ReportInvalidPosixMemalignAlignment()
310 BufferedStackTrace *stack) { in ReportAllocationSizeTooBig()
317 void ReportRssLimitExceeded(BufferedStackTrace *stack) { in ReportRssLimitExceeded()
323 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack) { in ReportOutOfMemory()
341 BufferedStackTrace *stack) { in ReportStringFunctionSizeOverflow()
[all …]
H A Dasan_errors.h128 const BufferedStackTrace *stack; member
140 const BufferedStackTrace *stack; member
153 const BufferedStackTrace *stack; member
168 const BufferedStackTrace *stack; member
183 const BufferedStackTrace *stack; member
195 const BufferedStackTrace *stack; member
208 const BufferedStackTrace *stack; member
223 const BufferedStackTrace *stack; member
236 const BufferedStackTrace *stack; member
253 const BufferedStackTrace *stack; member
[all …]
H A Dasan_allocator.cpp55 u32 tid, u32 stack) { in AtomicContextStore()
63 u32 &tid, u32 &stack) { in AtomicContextLoad()
119 void SetAllocContext(u32 tid, u32 stack) { in SetAllocContext()
132 void SetFreeContext(u32 tid, u32 stack) { in SetFreeContext()
881 u32 stack = 0; in AllocTid() local
890 u32 stack = 0; in FreeTid() local
901 u32 stack = 0; in GetAllocStackId() local
910 u32 stack = 0; in GetFreeStackId() local
961 BufferedStackTrace *stack) { in asan_reallocarray()
1028 BufferedStackTrace *stack) { in asan_posix_memalign()
[all …]
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dfiber_asm.cpp42 void ucontext_init(ucontext *context, void *stack, unsigned stack_sz, in ucontext_init()
68 char stack[64 * 1024] __attribute__((aligned(16))); variable
H A Dfiber_race.cpp7 char stack[64 * 1024] __attribute__((aligned(16))); variable
H A Dfiber_simple.cpp7 char stack[64 * 1024] __attribute__((aligned(16))); variable
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp587 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free()
592 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete()
596 void *memprof_malloc(uptr size, BufferedStackTrace *stack) { in memprof_malloc()
600 void *memprof_calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in memprof_calloc()
605 BufferedStackTrace *stack) { in memprof_reallocarray()
615 void *memprof_realloc(void *p, uptr size, BufferedStackTrace *stack) { in memprof_realloc()
629 void *memprof_valloc(uptr size, BufferedStackTrace *stack) { in memprof_valloc()
634 void *memprof_pvalloc(uptr size, BufferedStackTrace *stack) { in memprof_pvalloc()
647 void *memprof_memalign(uptr alignment, uptr size, BufferedStackTrace *stack, in memprof_memalign()
659 BufferedStackTrace *stack) { in memprof_aligned_alloc()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stackdepot_test.cpp42 StackTrace stack = StackDepotGet(i1); in TEST_F() local
49 StackTrace stack = StackDepotGet((1 << 30) - 1); in TEST_F() local
55 StackTrace stack = StackDepotGet(i1); in TEST_F() local
60 StackTrace stack = StackDepotGet(0); in TEST_F() local
70 StackTrace stack = StackDepotGet(i1); in TEST_F() local
/llvm-project-15.0.7/compiler-rt/test/shadowcallstack/
H A Dminimal_runtime.h15 void *stack = mmap(NULL, 8192, PROT_READ | PROT_WRITE, in __shadowcallstack_init() local
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcxxctr-array-evalcall-analysis-order.cpp14 void stack() { in stack() function
/llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/stack/stack.cons/
H A Dctor_iterators.pass.cpp33 std::stack<int> stack(a, a + 4); in main() local
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/
H A Ddescribe_address.cpp8 int stack; in main() local
H A Dinvalid-pointer-pairs-subtract-success.cpp28 char stack[10000]; in main() local
/llvm-project-15.0.7/compiler-rt/test/tsan/Linux/
H A Dclone_setns.cpp36 char stack[64 << 10] __attribute__((aligned(64))); in main() local

123456