forked from DynamoRIO/dynamorio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#5383: arm v8.3 pac instructions for M1
Updates to aarch64 to execute code with PAC features; mainly just strips off any PAC bits before jumping anywhere. Issue: DynamoRIO#5383
- Loading branch information
Anthony Romano
committed
Jun 1, 2022
1 parent
8ba9b14
commit ac27bb1
Showing
7 changed files
with
116 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# ********************************************************** | ||
# Copyright (c) 2016-2022 ARM Limited. All rights reserved. | ||
# ********************************************************** | ||
|
||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are met: | ||
# | ||
# * Redistributions of source code must retain the above copyright notice, | ||
# this list of conditions and the following disclaimer. | ||
# | ||
# * Redistributions in binary form must reproduce the above copyright notice, | ||
# this list of conditions and the following disclaimer in the documentation | ||
# and/or other materials provided with the distribution. | ||
# | ||
# * Neither the name of ARM Limited nor the names of its contributors may be | ||
# used to endorse or promote products derived from this software without | ||
# specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
# ARE DISCLAIMED. IN NO EVENT SHALL ARM LIMITED OR CONTRIBUTORS BE LIABLE | ||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
# DAMAGE. | ||
|
||
# See header comments in codec_v80.txt and opnd_defs.txt to understand how | ||
# instructions are defined for the purposes of decode and encode code | ||
# generation. | ||
|
||
# Instruction definitions: | ||
|
||
# retaa, retab | ||
11010110010111110000101111111111 n 579 reta : | ||
11010110010111110000111111111111 n 579 reta : | ||
11010101000000110010001101111111 n 580 pacibsp : | ||
11010101000000110010001111111111 n 581 autibsp : | ||
1101011000111111000010xxxxx11111 n 582 blraaz impx30 : x5 | ||
# blraa | ||
110101110011111100001001xxxxxxxx n 582 blraaz impx30 : x5p8 x0 | ||
1101011100011111000010xxxxxxxxxx n 583 braa : x5 x0 | ||
110110101100000100100011111xxxxx n 584 paciza : x0 | ||
110110101100000101000011111xxxxx n 585 xpaci : x0 | ||
110110101100000101000111111xxxxx n 586 xpacd : x0 | ||
1101101011000001000010xxxxxxxxxx n 587 pacda : x0 x5 | ||
1101101011000001000000xxxxxxxxxx n 588 pacia : x0 x5 | ||
1101101011000001000001xxxxxxxxxx n 589 pacib : x0 x5 | ||
110110101100000100011101xxxxxxxx n 590 autdb : x5p8 x0 | ||
|
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