platform_system_core/debuggerd/libdebuggerd
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
..
include/libdebuggerd Show signal sender for SI_FROMUSER signals. 2018-04-26 08:19:17 -07:00
test Include the map name when dumping memory around a register. 2018-02-15 16:28:50 -08:00
backtrace.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
elf_utils.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
open_files_list.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
tombstone.cpp Improve SIGILL support. 2018-05-30 12:58:43 -07:00
utility.cpp Show signal sender for SI_FROMUSER signals. 2018-04-26 08:19:17 -07:00