android_system_core/debuggerd
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
..
client debuggerd_client: also log errors to the dump file. 2021-06-29 11:59:14 -07:00
common/include Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
crasher Ignore deliberate free() of non-heap memory 2021-03-16 18:16:15 -07:00
handler Always use main thread pid for manual dumping. 2021-07-30 14:08:03 -07:00
include/debuggerd Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info(). 2021-02-12 12:30:52 -08:00
libdebuggerd Add fault address marker in proto to tombstone. 2021-08-23 16:25:13 -07:00
proto [MTE] Add a HWASan-style tag dump to tombstones. 2021-06-28 15:53:10 -07:00
seccomp_policy Allow another prctl call. 2021-04-16 13:35:16 -07:00
tombstoned Modify missing output fd message. 2021-08-18 17:01:13 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp debuggerd: add -fno-finite-loop to fix test. 2021-08-11 13:21:11 -07:00
crash_dump.cpp crash_dump: avoid misleading error messages. 2021-06-21 12:39:40 -07:00
crash_test.cpp Re-add backtrace note about unreadable elf. 2021-05-03 15:21:11 -07:00
debuggerd.cpp Always use main thread pid for manual dumping. 2021-07-30 14:08:03 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Add fault address marker in proto to tombstone. 2021-08-23 16:25:13 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Remove jmgao from OWNERS files. 2021-08-10 21:42:14 -07:00
pbtombstone.cpp Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
protocol.h Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info(). 2021-02-12 12:30:52 -08:00
TEST_MAPPING Split up the system/core/ TEST_MAPPING. 2021-08-16 16:37:10 -07:00
util.cpp debuggerd: store commandline instead of process name. 2021-03-30 12:15:56 -07:00
util.h debuggerd: store commandline instead of process name. 2021-03-30 12:15:56 -07:00