android_system_core/debuggerd/crasher
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
..
arm debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
arm64 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
mips debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
mips64 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
x86 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
x86_64 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
Android.bp Use -Werror in system/core 2017-11-01 11:32:55 -07:00
crasher.cpp Improve SIGILL support. 2018-05-30 12:58:43 -07:00