platform_system_core/libbacktrace
Christopher Ferris 8bd4a4ecdc Fix small ptrace reads.
The BacktracePtrace::Read function crashes if the number of bytes to
read is less than the number of bytes needed to align the read to
a word_t boundary.

Fix this and add a test for this case.

Change-Id: I50808849ece44928f65dba1d25309e3885c829a2
(cherry picked from commit 944f417ccb)
2015-05-06 19:08:52 -07:00
..
Android.build.mk Merge "Refactor the code." 2015-03-31 21:11:36 +00:00
Android.mk Remove libunwind-ptrace dependency. 2015-04-15 14:50:39 -07:00
Backtrace.cpp Add load base to map for relocation packing. 2015-05-01 16:04:24 -07:00
backtrace_test.cpp Fix small ptrace reads. 2015-05-06 19:08:52 -07:00
backtrace_testlib.c Rewrite libbacktrace using C++. 2013-10-28 17:55:25 -07:00
BacktraceCurrent.cpp Discards frames for code within library. 2015-04-01 15:58:20 -07:00
BacktraceCurrent.h Discards frames for code within library. 2015-04-01 15:58:20 -07:00
BacktraceLog.h Refactor the code. 2015-03-31 10:51:44 -07:00
BacktraceMap.cpp Refactor the code. 2015-03-31 10:51:44 -07:00
BacktracePtrace.cpp Fix small ptrace reads. 2015-05-06 19:08:52 -07:00
BacktracePtrace.h Refactor the code. 2015-03-31 10:51:44 -07:00
GetPss.cpp Refactor the code. 2015-03-31 10:51:44 -07:00
GetPss.h Create an UnwindMapLocal object. 2014-04-03 14:19:24 -07:00
map_info.c Rewrite libbacktrace to be all C++. 2014-01-16 16:12:29 -08:00
thread_utils.c Rewrite libbacktrace using C++. 2013-10-28 17:55:25 -07:00
thread_utils.h Rewrite libbacktrace using C++. 2013-10-28 17:55:25 -07:00
ThreadEntry.cpp Refactor the code. 2015-03-31 10:51:44 -07:00
ThreadEntry.h Refactor the code. 2015-03-31 10:51:44 -07:00
UnwindCurrent.cpp Discards frames for code within library. 2015-04-01 15:58:20 -07:00
UnwindCurrent.h Refactor the code. 2015-03-31 10:51:44 -07:00
UnwindMap.cpp Add offset to map data. 2015-05-06 16:35:50 -07:00
UnwindMap.h Refactor the code. 2015-03-31 10:51:44 -07:00
UnwindPtrace.cpp Refactor the code. 2015-03-31 10:51:44 -07:00
UnwindPtrace.h Refactor the code. 2015-03-31 10:51:44 -07:00