Home
last modified time | relevance | path

Searched refs:stack_bottom (Results 1 – 16 of 16) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc42 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument
43 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
51 uptr stack_bottom) { in GetCanonicFrame() argument
53 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
55 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
58 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
71 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
76 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack()
79 uptr bottom = stack_bottom; in FastUnwindStack()
Dsanitizer_mac.cc161 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
163 CHECK(stack_bottom); in GetThreadStackTopAndBottom()
181 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
268 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local
269 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
270 *stk_addr = stack_bottom; in GetThreadStackAndTls()
271 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_linux_libcdep.cc80 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
82 CHECK(stack_bottom); in GetThreadStackTopAndBottom()
110 *stack_bottom = end - stacksize; in GetThreadStackTopAndBottom()
123 *stack_bottom = (uptr)stackaddr; in GetThreadStackTopAndBottom()
358 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
359 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
360 *stk_addr = stack_bottom; in GetThreadStackAndTls()
361 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_stacktrace_libcdep.cc48 uptr stack_top, uptr stack_bottom, in Unwind() argument
67 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
Dsanitizer_win.cc71 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
73 CHECK(stack_bottom); in GetThreadStackTopAndBottom()
80 *stack_bottom = (uptr)mbi.AllocationBase; in GetThreadStackTopAndBottom()
534 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
535 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
536 *stk_addr = stack_bottom; in GetThreadStackAndTls()
537 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_stacktrace.h100 uptr stack_bottom, bool request_fast_unwind);
103 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
Dsanitizer_common.h65 uptr *stack_bottom);
/external/opencv/cv/src/
Dcvcanny.cpp53 uchar **stack_top, **stack_bottom = 0; in cvCanny() local
135 CV_CALL( stack_top = stack_bottom = (uchar**)cvAlloc( maxsize*sizeof(stack_top[0]) )); in cvCanny()
219 if( (stack_top - stack_bottom) + size.width > maxsize ) in cvCanny()
224 … memcpy( new_stack_bottom, stack_bottom, (stack_top - stack_bottom)*sizeof(stack_top[0]) ); in cvCanny()
225 stack_top = new_stack_bottom + (stack_top - stack_bottom); in cvCanny()
226 cvFree( &stack_bottom ); in cvCanny()
227 stack_bottom = new_stack_bottom; in cvCanny()
305 while( stack_top > stack_bottom ) in cvCanny()
308 if( (stack_top - stack_bottom) + 8 > maxsize ) in cvCanny()
313 … memcpy( new_stack_bottom, stack_bottom, (stack_top - stack_bottom)*sizeof(stack_top[0]) ); in cvCanny()
[all …]
/external/compiler-rt/lib/lsan/
Dlsan.h21 uptr stack_top = 0, stack_bottom = 0; \
25 stack_bottom = t->stack_begin(); \
28 /* context */ 0, stack_top, stack_bottom, fast); \
/external/compiler-rt/lib/asan/
Dasan_stack.h48 uptr stack_bottom = t->stack_bottom(); in GetStackTraceWithPcBpAndContext()
50 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in GetStackTraceWithPcBpAndContext()
Dasan_thread.cc218 bottom = stack_bottom(); in GetStackFrameAccessByAddr()
330 *stack_begin = t->stack_bottom(); in GetThreadRangesLocked()
Dasan_thread.h68 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() function
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc109 uintptr_t stack_bottom = lwp_lister->GetLwpStackBottom(last_ebp); in IsLwpCrashedCallback() local
110 if (stack_bottom > last_ebp && in IsLwpCrashedCallback()
111 stack_bottom == crashing_context->crashing_stack_bottom) { in IsLwpCrashedCallback()
138 uintptr_t stack_bottom = lwp_lister->GetLwpStackBottom(last_esp); in WriteLwpStack() local
139 if (stack_bottom >= last_esp) { in WriteLwpStack()
140 int size = stack_bottom - last_esp; in WriteLwpStack()
/external/compiler-rt/lib/msan/
Dmsan_thread.h32 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() function
Dmsan.cc204 stack->Unwind(max_s, pc, bp, 0, t->stack_top(), t->stack_bottom(), in GetStackTrace()
/external/v8/tools/
Dgrokdump.py1630 stack_bottom = exception_thread.stack.start + \
1634 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
1636 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
2085 stack_bottom = exception_thread.stack.start + \
2088 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
2156 stack_bottom = exception_thread.stack.start + \
2159 self.output_words(f, stack_top - 16, stack_bottom, stack_top, "Stack")
3060 stack_bottom = exception_thread.stack.start + \
3063 for slot in xrange(stack_top, stack_bottom, reader.PointerSize()):
3105 for slot in xrange(stack_top, stack_bottom, reader.PointerSize()):