android_system_core/debuggerd/libdebuggerd
Christopher Ferris 7e4c2a8ccc Add fault address marker in proto to tombstone.
When the switch was made to dump the tombstone from the protobuf,
the fault address marker in the maps section went missing. Re-add
that logic and add new unit tests to verify all of the different
behaviors.

Bug: 193935960

Test: All unit tests pass.
Test: All unit tests pass when setprop debug.debuggerd.translate_proto_to_text 0
Test: The above on cuttlefish, 32 bit and 64 bit.
Test: The above on a flame, 32 bit and 64 bit.
Change-Id: I098bb6ab4bacacae2ca0fc5ec9a73549ed0b9489
2021-08-23 16:25:13 -07:00
..
include/libdebuggerd [MTE] Add a HWASan-style tag dump to tombstones. 2021-06-28 15:53:10 -07:00
test Merge "debuggerd: store commandline instead of process name." 2021-03-31 08:29:54 +00:00
backtrace.cpp debuggerd: store commandline instead of process name. 2021-03-30 12:15:56 -07:00
gwp_asan.cpp Merge "Support MTE and GWP-ASan features in proto tombstones." 2021-03-19 23:42:23 +00:00
open_files_list.cpp libdebuggerd: decode fdsan owner tags. 2018-08-28 13:48:08 -07:00
scudo.cpp Support MTE and GWP-ASan features in proto tombstones. 2021-03-16 10:59:39 -07:00
tombstone.cpp Remove trailing newlines from abort message. 2021-08-18 14:13:02 -07:00
tombstone_proto.cpp Remove trailing newlines from abort message. 2021-08-18 14:13:02 -07:00
tombstone_proto_to_text.cpp Add fault address marker in proto to tombstone. 2021-08-23 16:25:13 -07:00
utility.cpp Update for new TRAP_PERF value. 2021-07-01 03:35:24 +00:00