android_system_core/libbacktrace
Christopher Ferris d4c884330c Fix use of uninitialized memory.
When creating an UnwindMapLocal fails in the Build() function call,
the destructor for UnwindMap is called. Unfortunately, the map_cursor_
member variable has not been initialized, so the call to destroy it
winds up operating on garbage data.

Part of this is a result of a bad class hierarchy, so this refactors
the classes slightly, and properly initializes the map_cursor_ member
variable in the base class.

Bug: 26931578
Change-Id: I885596bf65e4ef63559cee2c56cd41576d5ecc1b
2016-02-05 15:22:34 -08:00
..
Android.build.mk libbacktrace: don't let llvm cflags cover libbacktrace's cflags. 2015-09-24 17:46:27 -07:00
Android.mk Fix for host simpleperf 'gettid' unsat. 2016-02-01 15:59:40 -05:00
Backtrace.cpp Put BacktraceOffline code into a separate library. 2016-01-25 16:26:48 -08:00
BacktraceCurrent.cpp Fix libbacktrace host build. 2015-12-07 20:09:24 -08:00
BacktraceCurrent.h
BacktraceLog.h
BacktraceMap.cpp Merge "Clean up maps parsing in libbacktrace." 2015-09-23 05:35:05 +00:00
BacktraceOffline.cpp Put BacktraceOffline code into a separate library. 2016-01-25 16:26:48 -08:00
BacktraceOffline.h Revert "Revert "Revert "Revert "Add BacktraceOffline for offline backtracing."""" 2015-09-22 04:46:57 +00:00
BacktracePtrace.cpp
BacktracePtrace.h
GetPss.cpp
GetPss.h
ThreadEntry.cpp
ThreadEntry.h
UnwindCurrent.cpp
UnwindCurrent.h
UnwindMap.cpp Fix use of uninitialized memory. 2016-02-05 15:22:34 -08:00
UnwindMap.h Fix use of uninitialized memory. 2016-02-05 15:22:34 -08:00
UnwindPtrace.cpp
UnwindPtrace.h
backtrace_offline_test.cpp Revert "Revert "Revert "Revert "Add BacktraceOffline for offline backtracing."""" 2015-09-22 04:46:57 +00:00
backtrace_test.cpp Modify tests to use executable memory. 2016-01-15 16:08:58 -08:00
backtrace_testlib.c
thread_utils.c
thread_utils.h Fix libbacktrace host build. 2015-12-07 20:09:24 -08:00