-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#2062 memtrace nonmod part 3: Kernel interruption PC (#6001)
Changes the kernel interruption PC for 64-bit from a modidx+modoffs scheme that was trying to avoid a 2nd record but which failed to handle a non-module PC to use the absolute PC (a recently added assert fires in this case; previously we could assert or crash or continue with a bogus value in raw2trace depending on the uninitialized value of modidx). Bumps the raw offline version number. Updates raw2trace to handle both the old version as modix+modoffs plus the new absolute PC version. Adds new unit tests for both. Adds a SIGILL to the burst_gencode trace which triggers the new tracer assert and passes with this fix. To build the test, adds 0-valued entries to operand enums: DR_EXTEND_DEFAULT and DR_OPND_DEFAULT, to avoid C++ compiler warnings in INSTR_CREATE_dc_ivac(). #6000 covers using those in all the AArch64 creation macros. Issue: #2062
- Loading branch information
1 parent
46c585a
commit e879d71
Showing
7 changed files
with
234 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.