From b095215397ca8fe7e9808f312403ec4494de76f6 Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Tue, 25 Mar 2025 21:27:51 -0400 Subject: [aarch64] Updating Aarch64 system registers to 2024-12 spec, fix MSR/MRS lifting to use ReadMSR/WriteMSR intrinsics that take enums, removing the sysregs from the register list of the architecture * sysregs are no longer registers, add enum for TLBI and AT operands * add erroneously missing cases for unsupported encodings, add enum for DC operands --- arch/arm64/sysregs_enum.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 arch/arm64/sysregs_enum.h (limited to 'arch/arm64/sysregs_enum.h') diff --git a/arch/arm64/sysregs_enum.h b/arch/arm64/sysregs_enum.h new file mode 100644 index 00000000..a68ba08a --- /dev/null +++ b/arch/arm64/sysregs_enum.h @@ -0,0 +1,14 @@ +#include + +#include "binaryninjaapi.h" +#include "disassembler/sysregs_gen.h" +#include "disassembler/sysregs_fmt_gen.h" + +using namespace BinaryNinja; +using namespace std; + +Ref get_system_register_enum(); +Ref get_system_register_enum_type(Ref view); +QualifiedName get_system_register_enum_type_name(Ref view); +vector get_system_registers(); + -- cgit v1.3.1