android_system_core/debuggerd
Christopher Ferris 3a0833c9cd Fix potential miscellaneous debuggerd issues.
Check for the log opening failing.

Add the ability to put error messages in the log and tombstone so
that it's clear if the log reading failed in some way.

Adjust test so that if there is a log or if no log exists, the test
will still pass.

Print an <unknown> if the command line is unreadable instead of nothing.

Test: Ran unit tests.
Test: Induced error and verified error message is save in tombstone.
Change-Id: I2fce8078573b40b9fed3cd453235f3824cadb5e3
2023-08-09 17:31:55 -07:00
..
client debuggerd: simplify output handling 2023-05-19 15:19:06 -07:00
common/include Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
crasher Update some fs_mgr/debuggerd to use getpagesize() instead of PAGE_SIZE 2023-06-27 10:50:07 -07:00
handler Update some fs_mgr/debuggerd to use getpagesize() instead of PAGE_SIZE 2023-06-27 10:50:07 -07:00
include/debuggerd Recoverable GWP-ASan: Don't tell ActivityManager 2023-02-07 17:06:32 -08:00
libdebuggerd Fix potential miscellaneous debuggerd issues. 2023-08-09 17:31:55 -07:00
proto Make libdebuggerd ramdisk available. 2023-07-31 14:24:01 -07:00
rust/tombstoned_client Add safety comments. 2023-07-10 14:56:20 +01:00
seccomp_policy Updated the policy file associated with riscv64 2023-05-25 18:08:02 +08:00
test_permissive_mte Disable clang-tidy on crash test. 2023-01-03 15:58:29 -08:00
tombstoned Switch to tombstoned.microdroid 2022-10-24 15:56:33 +00:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Make libdebuggerd ramdisk available. 2023-07-31 14:24:01 -07:00
crash_dump.cpp Merge "[debuggerd] New protocol to AM to handle recoverable crashes." 2023-03-29 20:28:35 +00:00
crash_test.cpp Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
crash_test.h Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
debuggerd.cpp debuggerd: simplify output handling 2023-05-19 15:19:06 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Fix potential miscellaneous debuggerd issues. 2023-08-09 17:31:55 -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 Recoverable GWP-ASan: Don't tell ActivityManager 2023-02-07 17:06:32 -08:00
TEST_MAPPING Add tombstone_handler for crashes in Microdroid 2023-03-20 11:46:09 +00:00
tombstone_handler.cpp Add tombstone_handler for crashes in Microdroid 2023-03-20 11:46:09 +00:00
tombstone_handler.h Add tombstone_handler for crashes in Microdroid 2023-03-20 11:46:09 +00:00
util.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
util.h Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00