Skip to content

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

Description

@jonpalmisc

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Arch: ARM64Issues with the AArch64 architecture pluginComponent: ArchitectureIssue needs changes to an architecture pluginEffort: TrivialIssues require < 1 day of workImpact: HighIssue adds or blocks important functionality

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions