History log of /external/libunwind/src/os-hpux.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/os-hpux.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/os-hpux.c
7f41e701e34353baa975f5b471a9343aee2e488e 09-Sep-2011 Ken Werner <ken.werner@linaro.org> Have tdep_get_elf_image available in case of UNW_REMOTE_ONLY

Because it gets used by libunwind-ptrace.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
/external/libunwind/src/os-hpux.c
ea7160a8412fc4c3233f4c006e777fc9217f4089 16-Jun-2011 Joel Brobecker <brobecker@adacore.com> Remove unintended semi-colon in os-hpux.c fun definition

Probably a copy/paste error... This showed up on ia64-hpux.
/external/libunwind/src/os-hpux.c
1787a2fd284a786b409af74047a12de02c644cd1 15-May-2010 Arun Sharma <arun@sharma-home.net> Add path and pathlen arguments to tdep_get_elf_image()

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
/external/libunwind/src/os-hpux.c
07b01ad205162a93dab42722caaa4dbb7ba43b3f 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "tdep.h" and "internal.h".

(Logical change 1.294)
/external/libunwind/src/os-hpux.c
c67d345c33f1d0b6e4adce3e03f8a1f332722669 30-Jan-2004 hp.com!davidm <hp.com!davidm> Convert from debug() to Debug().

(Logical change 1.162)
/external/libunwind/src/os-hpux.c
b39b4346605025a959e7dba21c12e499856f6c81 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.87)
/external/libunwind/src/os-hpux.c
424ffd0db821a433467fd33de8df235a4c245442 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
/external/libunwind/src/os-hpux.c