-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM.Identify: wrap block classifiers to maintain PSTATE_T
This changes the final result of all block classifiers for ARM to ensure two properties: * The value of PSTATE_T is always considered unchanged within the same function. i.e. the value of PSTATE_T is always restored to its initial value for intra-block jumps. This ensures when calling a thumb function from an ARM function, the return point is decoded in ARM mode. * The low bit of a function address always determines whether or not it is ARM vs. Thumb mode, regardless of how it is discovered. i.e. thumb functions discovered from thumb mode still have their low bit set in the resulting discovery state
- Loading branch information
1 parent
0686e5d
commit 7de0b68
Showing
2 changed files
with
71 additions
and
3 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