Home
last modified time | relevance | path

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

/external/libchrome/base/debug/
Dstack_trace.cc57 bool IsStackFrameValid(uintptr_t fp, uintptr_t prev_fp, uintptr_t stack_end) { in IsStackFrameValid() argument
68 if (stack_end) { in IsStackFrameValid()
70 if (fp > stack_end - 2 * sizeof(uintptr_t)) return false; in IsStackFrameValid()
103 uintptr_t ScanStackForNextFrame(uintptr_t fp, uintptr_t stack_end) { in ScanStackForNextFrame() argument
108 if (!stack_end) { in ScanStackForNextFrame()
114 uintptr_t last_fp_to_scan = std::min(fp + kMaxStackScanArea, stack_end) - in ScanStackForNextFrame()
118 if (IsStackFrameValid(next_fp, fp, stack_end)) { in ScanStackForNextFrame()
124 if (IsStackFrameValid(next2_fp, next_fp, stack_end)) { in ScanStackForNextFrame()
175 uintptr_t stack_end = stack_begin + stack_size; in GetStackEnd() local
177 main_stack_end = stack_end; in GetStackEnd()
[all …]
/external/cronet/base/debug/
Dstack_trace.cc85 bool IsStackFrameValid(uintptr_t fp, uintptr_t prev_fp, uintptr_t stack_end) { in IsStackFrameValid() argument
96 if (stack_end) { in IsStackFrameValid()
98 if (fp > stack_end - 2 * sizeof(uintptr_t)) return false; in IsStackFrameValid()
124 uintptr_t ScanStackForNextFrame(uintptr_t fp, uintptr_t stack_end) { in ScanStackForNextFrame() argument
128 if (!stack_end) { in ScanStackForNextFrame()
134 uintptr_t last_fp_to_scan = std::min(fp + kMaxStackScanArea, stack_end) - in ScanStackForNextFrame()
138 if (IsStackFrameValid(next_fp, fp, stack_end)) { in ScanStackForNextFrame()
144 if (IsStackFrameValid(next2_fp, next_fp, stack_end)) { in ScanStackForNextFrame()
194 uintptr_t stack_end = stack_begin + stack_size; in GetStackEnd() local
196 main_stack_end = stack_end; in GetStackEnd()
[all …]
Dstack_trace_unittest.cc272 uintptr_t* stack_end) { in CopyCurrentStackAndRewritePointers() argument
282 *stack_end = *out_fp + stack_size; in CopyCurrentStackAndRewritePointers()
314 uintptr_t stack_end = 0, fp = 0; in ExpectStackFramePointers() local
316 CopyCurrentStackAndRewritePointers(&fp, &stack_end); in ExpectStackFramePointers()
318 TraceStackFramePointersFromBuffer(fp, stack_end, frames, max_depth, 0); in ExpectStackFramePointers()
Dstack_trace.h186 uintptr_t stack_end,
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc63 uptr stack_begin, stack_end, member
72 stack_end_ = args->stack_end; in OnStarted()
96 args.stack_end = args.stack_begin + stack_size; in ThreadStart()
139 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
146 *stack_end = context->stack_end(); in GetThreadRangesLocked()
Dlsan_common.cc196 uptr stack_begin, stack_end, tls_begin, tls_end, cache_begin, cache_end; in ProcessThreads() local
198 bool thread_found = GetThreadRangesLocked(os_id, &stack_begin, &stack_end, in ProcessThreads()
221 LOG_THREADS("Stack at %p-%p (SP = %p).\n", stack_begin, stack_end, sp); in ProcessThreads()
222 if (sp < stack_begin || sp >= stack_end) { in ProcessThreads()
229 while (stack_begin < stack_end && in ProcessThreads()
235 skipped, stack_begin, stack_end); in ProcessThreads()
240 ScanRangeForPointers(stack_begin, stack_end, frontier, "STACK", in ProcessThreads()
Dlsan.h24 stack_top = t->stack_end(); \
Dlsan_thread.h32 uptr stack_end() { return stack_end_; } in stack_end() function
Dlsan_common.h154 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end,
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-5.c161 intptr_t stack_start, stack_end, current_pos; in threaded()
164 stack_end = in threaded()
171 (void *)stack_end, stack_end - stack_start); in threaded()
174 if ((stack_start > current_pos) || (current_pos > stack_end)) { in threaded()
/external/AFLplusplus/utils/argv_fuzzing/
Dargvfuzz.c24 void (*rtld_fini)(void), void *stack_end) { in __libc_start_main() argument
28 void *stack_end); in __libc_start_main()
46 return orig(main, sub_argc, sub_argv, init, fini, rtld_fini, stack_end); in __libc_start_main()
/external/minijail/
Dlibminijailpreload.c109 void (*rtld_fini)(void), void(*stack_end)) in __libc_start_main() argument
121 void (*rtld_fini)(void), void(*stack_end)); in __libc_start_main()
152 rtld_fini, stack_end); in __libc_start_main()
/external/google-breakpad/src/processor/
Dstackwalk_common.cc124 uint64_t stack_begin = 0, stack_end = 0; in PrintStackContents() local
133 stack_end = prev_frame_x86->context.esp; in PrintStackContents()
145 stack_end = prev_frame_amd64->context.rsp; in PrintStackContents()
155 stack_end = prev_frame_arm->context.iregs[13]; in PrintStackContents()
167 stack_end = prev_frame_arm64->context.iregs[31]; in PrintStackContents()
170 if (!word_length || !stack_begin || !stack_end) in PrintStackContents()
175 for(uint64_t address = stack_begin; address < stack_end; ) { in PrintStackContents()
187 if (address < stack_end && in PrintStackContents()
202 for (uint64_t address = stack_begin; address < stack_end; in PrintStackContents()
/external/compiler-rt/lib/asan/
Dasan_thread.cc398 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
404 *stack_end = t->stack_top(); in GetThreadRangesLocked()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc470 uptr* stack_end = (uptr*)__libc_stack_end; in GetArgsAndEnv() local
471 int argc = *stack_end; in GetArgsAndEnv()
472 *argv = (char**)(stack_end + 1); in GetArgsAndEnv()
473 *envp = (char**)(stack_end + argc + 2); in GetArgsAndEnv()
/external/rust/crates/libc/src/unix/haiku/
Dnative.rs270 pub stack_end: *mut ::c_void