platform_system_core/debuggerd
Elliott Hughes 2baf443a21 Improve SIGILL support.
Include the illegal instruction in the header if we get a
SIGILL. Otherwise (since these tend to be one-off bit flips), we don't
usually have any information to try to confirm our suspicion that any
given instance is actually a one-off bit flip.

Also add `SIGILL` as a crasher option to easily generate such crashes.

Before:
  signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xab1456da

After:
  signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xab1456da (*pc=0xe7f0def0)

Bug: http://b/77274448
Test: ran crasher
Change-Id: I5f8dedca5eea2b117b1b1e48430214b38e1366ed
2018-05-30 12:58:43 -07:00
..
client crash_dump: lower THREAD_COUNT in debuggerd_client.race for low-speed devices 2017-06-23 08:59:22 +09:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher Improve SIGILL support. 2018-05-30 12:58:43 -07:00
handler debuggerd: fix CrasherTest.seccomp_crash_oom. 2018-05-16 00:16:09 -07:00
include/debuggerd tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
libdebuggerd Improve SIGILL support. 2018-05-30 12:58:43 -07:00
seccomp_policy debuggerd seccomp: explain why we define PROT_READ/WRITE. 2018-02-18 23:50:19 -08:00
tombstoned tombstoned: make missing O_TMPFILE workaround actually work around. 2018-05-03 16:05:32 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Build adbd for recovery 2018-05-24 14:11:11 +09:00
Android.mk Mark crash_dump.policy as not supported on mips 2018-02-27 15:35:11 -08:00
crash_dump.cpp crash_dump: defuse our signal handlers earlier. 2018-04-27 13:31:47 -07:00
debuggerd.cpp Remove unnecessary SELinux dependencies 2017-07-01 07:41:48 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Expect optional (offset ...) in frame dump. 2018-05-14 11:07:54 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
protocol.h crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
util.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
util.h crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00