mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
* sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
* sysdeps/generic/frame.h: Likewise. * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds around return value. (__backtrace): Qualify frame-pointer chain and return address pointers as __unbounded. Wrap bounds around variable `current'. * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds around return value. (catch_segfault): Qualify frame-pointer chain and return address pointers as __unbounded. Wrap bounds around variable `current'. * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded. (ADVANCE_STACK_FRAME): Wrap bounds around return value. * sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded. (__backtrace): Qualify frame-pointer chain and return address pointers as __unbounded. Wrap bounds around variable `current'.
This commit is contained in:
parent
da671ea07a
commit
e6bd4dbf3a
@ -20,7 +20,7 @@
|
||||
/* This is the APCS stack backtrace structure. */
|
||||
struct layout
|
||||
{
|
||||
struct layout *next;
|
||||
void *sp;
|
||||
void *return_address;
|
||||
struct layout *__unbounded next;
|
||||
void *__unbounded sp;
|
||||
void *__unbounded return_address;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user