Closed peternguyen93 closed 1 year ago
I think you can enable PAC via
uc_set_cpu_model
SCTLR_EnIA | SCTLR_EnIB | SCTLR_EnDA | SCTLR_EnDB
bits in SCTLR_EL1
APA=1, GPA=1
in ID_AA64ISAR1_EL1
These registers can be set via read-write-modify to UC_ARM64_REG_CP_REG
with the appropriate configuration. All of these things can be done from normal code without hacking QEMU or Unicorn itself.
Link to #1789, I should really doc it...
Hello team, I re-created my patch to enable ARM64e support for unicorn in dev branch.