Lines Matching defs:SP

53    (4k) stack is allocated.  When SP moves below that for the first
55 faulting address is in the range from SP - VG_STACK_REDZONE_SZB
63 update stack permissions around SP, so we need to spot all writes
64 to SP anyway.
66 The deal is: when SP is assigned a lower value, the stack is being
69 all bytes in the area just "uncovered" by this SP change as
72 When SP goes back up, mark the area receded over as unreadable and
75 Just to record the SP boundary conditions somewhere convenient:
76 SP - VG_STACK_REDZONE_SZB always points to the lowest live byte in
77 the stack. All addresses below SP - VG_STACK_REDZONE_SZB are not
278 void VG_(stack_limits)(Addr SP, Addr *start, Addr *end )
280 Stack* stack = find_stack_by_addr(SP);
281 NSegment const *stackseg = VG_(am_find_nsegment) (SP);
288 /* SP is assumed to be in a RW segment or in the SkResvn segment of an
292 stack for SP, and set *start and *end to 0.
294 the RW segment/SkResvn segments containing SP. */
297 "no addressable segment for SP %p\n",
298 (void*)SP);
307 "segment for SP %p is not RW or not a SmUpper Resvn\n",
308 (void*)SP);
314 /* SP is in a RW segment, or in the SkResvn of an extensible stack.
318 "segment for SP %p changed stack start limit"
320 (void*)SP, (void*)*start, (void*)stackseg->start);
332 "Next forward segment for SP %p Resvn segment"
334 (void*)SP);
344 "segment for SP %p changed stack end limit"
346 (void*)SP, (void*)*end, (void*)stackseg->end);
350 /* If reducing start and/or end to the SP segment gives an
354 "stack for SP %p start %p after end %p\n",
355 (void*)SP, (void*)*start, (void*)end);
361 /* complaints_stack_switch reports that SP has changed by more than some
379 "SP change: 0x%lx --> 0x%lx\n", old_SP, new_SP);