diff options
| author | Galen Williamson <galen@vector35.com> | 2025-04-01 02:11:49 -0400 |
|---|---|---|
| committer | Galen Williamson <galen@vector35.com> | 2025-04-01 02:14:13 -0400 |
| commit | 100faeb5d195c71e93194ea9bdfee1a08aaedbd7 (patch) | |
| tree | 3f5bc1bd8f5ff86f41d029769ea9f0376f01b8b4 /arch/arm64/sysregs_enum.h | |
| parent | 6479724650885499126180585876675167918727 (diff) | |
[aarch64] use static var to avoid recreation of sysregs vector
Diffstat (limited to 'arch/arm64/sysregs_enum.h')
| -rw-r--r-- | arch/arm64/sysregs_enum.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm64/sysregs_enum.h b/arch/arm64/sysregs_enum.h index a68ba08a..6fbfd9c9 100644 --- a/arch/arm64/sysregs_enum.h +++ b/arch/arm64/sysregs_enum.h @@ -1,3 +1,6 @@ +/* GENERATED FILE - DO NOT MODIFY - SUBMIT GITHUB ISSUE IF PROBLEM FOUND */ +#pragma once + #include <stddef.h> #include "binaryninjaapi.h" @@ -10,5 +13,5 @@ using namespace std; Ref<Enumeration> get_system_register_enum(); Ref<Type> get_system_register_enum_type(Ref<BinaryView> view); QualifiedName get_system_register_enum_type_name(Ref<BinaryView> view); -vector<uint32_t> get_system_registers(); +const vector<uint32_t>& get_system_registers(); |
