diff options
| author | Elliott Hughes <enh@google.com> | 2018-05-30 12:55:04 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2018-05-30 12:58:43 -0700 |
| commit | 2baf443a21f3d7c763ffcd36b0eb0445bf05d8e0 (patch) | |
| tree | 2d6233956ad2c7f9dd83f887c9077744e8b2ab76 /trusty/coverage/coverage_test.cpp | |
| parent | d580c441ab45a6b7278da003e19af64e9ea2cc71 (diff) | |
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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
