Home
last modified time | relevance | path

Searched refs:stack_top (Results 1 – 25 of 49) 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()
/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()
/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/u-boot/arch/x86/cpu/queensbay/
Dfsp_configs.c14 rt_buf->common.stack_top = config->common.stack_top - 32; in update_fsp_configs()
/external/u-boot/arch/x86/include/asm/fsp/
Dfsp_api.h18 u32 stack_top; member
42 u32 stack_top; member
Dfsp_support.h67 void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf);
/external/u-boot/arch/x86/cpu/ivybridge/
Dfsp_configs.c36 rt_buf->stack_top = config->common.stack_top - 32; in update_fsp_configs()
/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/u-boot/arch/x86/cpu/
Dsipi_vector.S113 movl stack_top, %edx
201 stack_top: label
/external/u-boot/arch/x86/lib/fsp/
Dfsp_support.c99 void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf) in fsp_init() argument
119 config_data.common.stack_top = stack_top; in fsp_init()
/external/u-boot/arch/x86/cpu/braswell/
Dfsp_configs.c53 rt_buf->common.stack_top = config->common.stack_top - 32; in update_fsp_configs()
/external/u-boot/arch/x86/include/asm/arch-ivybridge/fsp/
Dfsp_configs.h33 u32 stack_top; member
/external/u-boot/arch/x86/cpu/baytrail/
Dfsp_configs.c39 rt_buf->common.stack_top = config->common.stack_top - 32; in update_fsp_configs()
/external/u-boot/arch/x86/include/asm/
Dsipi.h62 u32 stack_top; member
/external/compiler-rt/lib/msan/
Dmsan_thread.h31 uptr stack_top() { return stack_top_; } in stack_top() function
/external/bcc/src/lua/bpf/
Dbpf.lua104 local stack_top = (stackslots + 1) * ffi.sizeof('uint64_t')
265 local base = stack_top
266 assert(stack_top + size < 512 * 1024, 'exceeded maximum stack size of 512kB')
267 stack_top = stack_top + size
269 stack_top = math.ceil(stack_top/8)*8
280 emit(BPF.MEM + BPF.ST + BPF.W, 10, 0, -(stack_top-sp), as_u32[0])
286 for sp = base+8,stack_top,8 do
291 return stack_top
644 local sp = stack_top + key_size -- Must use stack below spill slots
714 local sp = stack_top + ffi.sizeof(map.key_type) + val_size

12