Home
last modified time | relevance | path

Searched refs:stack_top (Results 1 – 25 of 34) sorted by relevance

12

/external/selinux/checkpolicy/
Dmodule_compiler.c50 static scope_stack_t *stack_top = NULL; variable
122 while (stack_top != NULL) { in define_policy()
140 if (stack_top->type != 1 || stack_top->in_else) { in is_creation_allowed()
157 avrule_decl_t *decl = stack_top->decl; in create_symbol()
200 avrule_decl_t *decl = stack_top->decl; in declare_symbol()
329 assert(stack_top->type == 1); in declare_role()
331 if (stack_top->parent == NULL) { in declare_role()
335 roles_tab = stack_top->decl->p_roles.table; in declare_role()
563 assert(stack_top->type == 1); in declare_user()
565 if (stack_top->parent == NULL) { in declare_user()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc47 uptr stack_top, in GetCanonicFrame() argument
50 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
52 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
55 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
67 void BufferedStackTrace::FastUnwindStack(uptr pc, uptr bp, uptr stack_top, in FastUnwindStack() argument
73 if (stack_top < 4096) return; // Sanity check for stack top. in FastUnwindStack()
74 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack()
79 while (IsValidFrame((uptr)frame, stack_top, bottom) && in FastUnwindStack()
87 if (!IsValidFrame((uptr)caller_frame, stack_top, bottom) || in FastUnwindStack()
105 frame = GetCanonicFrame((uptr)frame[0], stack_top, bottom); in FastUnwindStack()
Dsanitizer_stacktrace.h97 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
101 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
114 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument
115 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
Dsanitizer_linux_libcdep.cc77 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument
79 CHECK(stack_top); in GetThreadStackTopAndBottom()
108 *stack_top = end; in GetThreadStackTopAndBottom()
121 *stack_top = (uptr)stackaddr + stacksize; in GetThreadStackTopAndBottom()
397 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
398 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
400 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_mac.cc247 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument
249 CHECK(stack_top); in GetThreadStackTopAndBottom()
267 *stack_top = (uptr)stackaddr; in GetThreadStackTopAndBottom()
268 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
366 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local
367 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
369 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_stacktrace_libcdep.cc58 uptr stack_top, uptr stack_bottom, in Unwind() argument
81 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
Dsanitizer_win.cc74 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument
76 CHECK(stack_top); in GetThreadStackTopAndBottom()
83 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom()
706 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
707 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
709 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_unwind_linux_libcdep.cc34 uptr stack_top; member
/external/compiler-rt/lib/lsan/
Dlsan.h21 uptr stack_top = 0, stack_bottom = 0; \
24 stack_top = t->stack_end(); \
28 IsValidFrame(GET_CURRENT_FRAME(), stack_top, stack_bottom)) { \
30 /* context */ 0, stack_top, stack_bottom, fast); \
/external/compiler-rt/lib/asan/
Dasan_stack.h48 uptr stack_top = t->stack_top(); in GetStackTraceWithPcBpAndContext()
51 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { in GetStackTraceWithPcBpAndContext()
52 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTraceWithPcBpAndContext()
Dasan_thread.cc175 uptr AsanThread::stack_top() { in stack_top() function in __asan::AsanThread
404 *stack_end = t->stack_top(); in GetThreadRangesLocked()
Dasan_thread.h69 uptr stack_top();
/external/freetype/src/lzw/
Dftzopen.c121 if ( state->stack_top >= state->stack_size ) in ft_lzwstate_stack_grow()
201 state->stack_top = 0; in ft_lzwstate_reset()
247 if ( state->stack_top >= state->stack_size && \
251 state->stack[state->stack_top++] = (FT_Byte)(c); \
375 while ( state->stack_top > 0 ) in ft_lzwstate_io()
377 state->stack_top--; in ft_lzwstate_io()
380 buffer[result] = state->stack[state->stack_top]; in ft_lzwstate_io()
Dftzopen.h140 FT_UInt stack_top; member
/external/ltp/testcases/cve/
Dstack_clash.c99 unsigned long stack_top = -1UL, start, end; in read_stack_addr_from_proc() local
120 stack_top = start; in read_stack_addr_from_proc()
122 stack_top = end; in read_stack_addr_from_proc()
128 return stack_top; in read_stack_addr_from_proc()
/external/google-breakpad/src/processor/
Dcfi_frame_info_unittest.cc508 uint64_t stack_top = 0x83254944b20d5512ULL; in TEST_F() local
512 GetMemoryAtAddress(stack_top, A<uint64_t *>())) in TEST_F()
517 GetMemoryAtAddress(stack_top + 16, A<uint64_t *>())) in TEST_F()
531 callee_context.sp = stack_top; in TEST_F()
544 EXPECT_EQ(stack_top + 24, caller_context.sp); in TEST_F()
/external/compiler-rt/lib/msan/
Dmsan_thread.h31 uptr stack_top() { return stack_top_; } in stack_top() function
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.h100 bool GetStackInfo(const void** stack, size_t* stack_len, uintptr_t stack_top);
/external/googletest/googletest/src/
Dgtest-death-test.cc1085 void* const stack_top = in ExecDeathTestSpawnChild() local
1089 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1091 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/v8/testing/gtest/src/
Dgtest-death-test.cc1084 void* const stack_top = in ExecDeathTestSpawnChild() local
1088 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1090 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc1086 void* const stack_top = in ExecDeathTestSpawnChild() local
1090 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1092 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/v8/tools/
Dgrokdump.py1743 stack_top = self.reader.ExceptionSP()
1748 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
1751 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
2213 stack_top = self.reader.ExceptionSP()
2217 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
2281 stack_top = self.reader.ExceptionSP()
2284 stack_top + self.MAX_CONTEXT_STACK)
2285 self.output_words(f, stack_top - 16, stack_bottom, stack_top, "Stack")
3187 stack_top = reader.ExceptionSP()
3191 for slot in xrange(stack_top, stack_bottom, reader.PointerSize()):
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc1068 void* const stack_top = in ExecDeathTestSpawnChild() local
1072 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1074 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-death-test.cc1068 void* const stack_top = in ExecDeathTestSpawnChild() local
1072 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1074 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/v8/src/regexp/
Dregexp-macro-assembler.h230 static Address GrowStack(Address stack_pointer, Address* stack_top,

12