Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a function to generate DF flag check in JITCODE and trap when DF is incorrectly set. Downstream project can add the check to any places they want. The motivation of this check is to catch a case where memory can be corrupted due to incorrect DF flag affecting `rep` instructions. One case is found in Openj9 but the memory corruption is hard to reproduce and not all memory corruption can result in a test failure or crash. However a wrong DF flag should be easier to detect if the check is executed frequently enough. Signed-off-by: Liqun Liu <liqunl@ca.ibm.com>
- Loading branch information
Liqun Liu
committed
Sep 11, 2020
1 parent
6f96390
commit 5ba456b
Showing
2 changed files
with
38 additions
and
0 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