android_system_core/libbacktrace
Florian Mayer 3d67d347f5 Fix copy / move behaviour of Maps object.
Currently, moving or copying a Maps object leads to double free of MapInfo.

Even moving a Maps object  did not prevent this, as after a move
the object only has to be in an "unspecified but valid state", which can
be the original state for a vector of raw pointers (but not for a vector
of unique_ptrs).

Changing to unique_ptrs is the most failsafe way to make sure we never
accidentally destruct MapInfo.

Test: atest libuwindstack_test
      Failed LocalUnwinderTest#unwind_after_dlopen which also fails at master.

Change-Id: Id1c9739b334da5c1ba532fd55366e115940a66d3
2019-03-05 13:05:36 +00:00
..
include/backtrace
testdata
.clang-format
Android.bp Implement support for linker rosegment option. 2018-10-03 20:48:45 -07:00
Backtrace.cpp
BacktraceAsyncSafeLog.h
BacktraceCurrent.cpp [libbacktrace] Fix sign-compare warning 2018-12-17 12:51:36 -08:00
BacktraceCurrent.h
BacktraceLog.h
BacktraceMap.cpp procinfo: Read inode number from /proc/<pid>/maps 2019-02-11 01:38:08 +00:00
BacktracePtrace.cpp
BacktracePtrace.h
BacktraceTest.h Load libbacktrace_test.so explicitly. 2018-10-03 12:42:38 -07:00
OWNERS
ThreadEntry.cpp
ThreadEntry.h
UnwindMap.cpp
UnwindMap.h
UnwindStack.cpp Fix offsets when shared lib split across maps. 2018-12-18 11:22:14 -08:00
UnwindStack.h
UnwindStackMap.cpp Fix copy / move behaviour of Maps object. 2019-03-05 13:05:36 +00:00
UnwindStackMap.h Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
backtrace_benchmarks.cpp
backtrace_offline_test.cpp Load libbacktrace_test.so explicitly. 2018-10-03 12:42:38 -07:00
backtrace_read_benchmarks.cpp
backtrace_test.cpp Load libbacktrace_test.so explicitly. 2018-10-03 12:42:38 -07:00
backtrace_testlib.cpp
backtrace_testlib.h