platform_system_core/debuggerd/libdebuggerd
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/libdebuggerd Replace libbacktrace with libunwindstack directly. 2019-01-29 17:57:14 -08:00
test Replace libbacktrace with libunwindstack directly. 2019-01-29 17:57:14 -08:00
backtrace.cpp Replace libbacktrace with libunwindstack directly. 2019-01-29 17:57:14 -08:00
open_files_list.cpp libdebuggerd: decode fdsan owner tags. 2018-08-28 13:48:08 -07:00
tombstone.cpp Fix copy / move behaviour of Maps object. 2019-03-05 13:05:36 +00:00
utility.cpp Update for v4.19 kernel headers. 2018-10-30 09:22:12 -07:00