platform_system_core/debuggerd
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
..
client debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher Fix two clang-tidy issues in crasher.cpp. 2018-09-24 13:18:22 -07:00
handler Replace libbacktrace with libunwindstack directly. 2019-01-29 17:57:14 -08:00
include/debuggerd tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
libdebuggerd Fix copy / move behaviour of Maps object. 2019-03-05 13:05:36 +00:00
seccomp_policy debuggerd seccomp: explain why we define PROT_READ/WRITE. 2018-02-18 23:50:19 -08:00
tombstoned debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Fix libdexfile dependencies to avoid direct dependency on libdexfile_external. 2019-02-24 22:04:11 +00:00
Android.mk Mark crash_dump.policy as not supported on mips 2018-02-27 15:35:11 -08:00
crash_dump.cpp Replace libbacktrace with libunwindstack directly. 2019-01-29 17:57:14 -08:00
debuggerd.cpp debuggerd: add support for Java traces. 2018-06-14 15:40:06 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00
MODULE_LICENSE_APACHE2
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
protocol.h crash_dump: pass the address of the fdsan table. 2018-08-06 18:50:10 -07:00
util.cpp debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00
util.h debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00