Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GENTER and GEXIT in AArch64 on Apple platforms #5933

Open
jonpalmisc opened this issue Sep 14, 2024 · 0 comments
Open

Add support for GENTER and GEXIT in AArch64 on Apple platforms #5933

jonpalmisc opened this issue Sep 14, 2024 · 0 comments
Labels
Arch: ARM64 Issues with the AArch64 architecture plugin Component: Architecture Issue needs changes to an architecture plugin Effort: Trivial Issue should take < 1 day Impact: High Issue adds or blocks important functionality

Comments

@jonpalmisc
Copy link
Contributor

The GXF feature on newer Apple SoCs uses two custom instructions, GENTER and GEXIT. These appear in the iOS kernelcache and SPTM on newer devices.

Their opcodes are:

  • 20 14 20 00: GENTER
  • 00 14 20 00: GEXIT

These instructions are not supported by Binary Ninja, and are disassembled as undefined instructions. This is problematic on its own, but also acts as a barrier to disassembling the rest of a function, making it's impact more annoying than just being an undefined instruction.

@jonpalmisc jonpalmisc changed the title Add support for GENTER and GEXIT in AArch64 Add support for GENTER and GEXIT in AArch64 on Apple platforms Sep 14, 2024
@emesare emesare added Component: Architecture Issue needs changes to an architecture plugin Arch: ARM64 Issues with the AArch64 architecture plugin Impact: Medium Issue is impactful with a bad, or no, workaround Effort: Trivial Issue should take < 1 day labels Sep 15, 2024
@plafosse plafosse added Impact: High Issue adds or blocks important functionality and removed Impact: Medium Issue is impactful with a bad, or no, workaround labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: ARM64 Issues with the AArch64 architecture plugin Component: Architecture Issue needs changes to an architecture plugin Effort: Trivial Issue should take < 1 day Impact: High Issue adds or blocks important functionality
Projects
None yet
Development

No branches or pull requests

3 participants