History log of /external/libunwind/src/ppc32/Ginit.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f4a8df5f4f338f1a12c25213227e98b34b42447f 08-Mar-2014 Christopher Ferris <cferris@google.com> Fix maps caching for local processes.

It is possible for the map to change while running libunwind. For example,
if lots of threads are doing local unwinds at the same time. Allow the
cached map to regenerate when it detects this case.

Included in this change is a refactor of all of the os code so that it can
also be used to do caching. This is a prelude to being able to attempt to
push the code upstream.

Also, this moves the code back closer to the original upstream code.
Hopefully, this will allow me to upstream all of these changes.

Change-Id: Ia219fa61e16e36416133bc95b1dd2161bd5b8ff7
/external/libunwind/src/ppc32/Ginit.c
cdf9ee587b78148c5d48dae1b5ea72ec8df64c96 23-Nov-2013 Christopher Ferris <cferris@google.com> Only check the map for local unwinds.

Change-Id: I7b7eed29a1b7ddad8e0d852598260809d3eb98d1
/external/libunwind/src/ppc32/Ginit.c
7d46a21e0a2cb561e4cad57b101a7137e01023dc 14-Nov-2013 Christopher Ferris <cferris@google.com> For current process, check memory accesses.

When attempting to unwind the current process, the library simple reads and
writes to memory for memory accesses. Unfortunately, if an unwind winds up
with invalid data, then the process can segfault. Add a guard to all memory
accesses that verifies that reads/writes are valid before attempting them.

For now, this guard is a nop on all systems except linux systems.

Also, modify the adjust_ip function to use the access_mem function
so that all reads go through the right function.

Bug: 11652982
Change-Id: I9d1feacae585374f6bf1d899f8a006ec9ecb47c4
/external/libunwind/src/ppc32/Ginit.c
6023ccf6677fa030c001fcccc903c6ded9ffc47e 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> PPC: remove unused `PAGE_START' macro from Ginit.c
/external/libunwind/src/ppc32/Ginit.c
9ea6af8ed5ee7b07f8de6d774bc6df2b7320f0e8 08-Oct-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC32] Make PPC32 unwinding work for real.
/external/libunwind/src/ppc32/Ginit.c
4499bb29a6214b5df5b3b21e03c6b4f3c8f26cfd 13-Sep-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC32] First check-in to add preliminary support for Linux/PPC32.
/external/libunwind/src/ppc32/Ginit.c