|
GDB (xrefs)
|
#include "gdbsupport/common-defs.h"Go to the source code of this file.
Macros | |
| #define | HWCAP2_MTE (1 << 18) |
| #define | AARCH64_LINUX_SIZEOF_MTE 8 |
| #define | AARCH64_MTE_GRANULE_SIZE 16 |
| #define | AARCH64_MTE_TAG_BIT_SIZE 4 |
| #define | AARCH64_MTE_LOGICAL_TAG_START_BIT 56 |
| #define | AARCH64_MTE_LOGICAL_MAX_VALUE 0xf |
| #define | SEGV_MTEAERR 8 |
| #define | SEGV_MTESERR 9 |
Enumerations | |
| enum class | aarch64_memtag_type { mte_logical = 0 , mte_allocation } |
Functions | |
| size_t | aarch64_mte_get_tag_granules (CORE_ADDR addr, size_t len, size_t granule_size) |
| CORE_ADDR | aarch64_mte_make_ltag_bits (CORE_ADDR value) |
| CORE_ADDR | aarch64_mte_make_ltag (CORE_ADDR value) |
| CORE_ADDR | aarch64_mte_set_ltag (CORE_ADDR address, CORE_ADDR tag) |
| CORE_ADDR | aarch64_mte_get_ltag (CORE_ADDR address) |
| void | aarch64_mte_pack_tags (gdb::byte_vector &tags) |
| void | aarch64_mte_unpack_tags (gdb::byte_vector &tags, bool skip_first) |
| #define AARCH64_LINUX_SIZEOF_MTE 8 |
Definition at line 31 of file aarch64-mte-linux.h.
| #define AARCH64_MTE_GRANULE_SIZE 16 |
Definition at line 34 of file aarch64-mte-linux.h.
| #define AARCH64_MTE_LOGICAL_MAX_VALUE 0xf |
Definition at line 37 of file aarch64-mte-linux.h.
| #define AARCH64_MTE_LOGICAL_TAG_START_BIT 56 |
Definition at line 36 of file aarch64-mte-linux.h.
| #define AARCH64_MTE_TAG_BIT_SIZE 4 |
Definition at line 35 of file aarch64-mte-linux.h.
| #define HWCAP2_MTE (1 << 18) |
Definition at line 27 of file aarch64-mte-linux.h.
| #define SEGV_MTEAERR 8 |
Definition at line 41 of file aarch64-mte-linux.h.
| #define SEGV_MTESERR 9 |
Definition at line 42 of file aarch64-mte-linux.h.
|
strong |
| Enumerator | |
|---|---|
| mte_logical | |
| mte_allocation | |
Definition at line 46 of file aarch64-mte-linux.h.
| CORE_ADDR aarch64_mte_get_ltag | ( | CORE_ADDR | address | ) |
Definition at line 129 of file aarch64-mte-linux.c.
References AARCH64_MTE_LOGICAL_TAG_START_BIT, and aarch64_mte_make_ltag_bits().
Referenced by aarch64_linux_get_memtag(), aarch64_linux_memtag_matches_p(), and aarch64_linux_report_signal_info().
| size_t aarch64_mte_get_tag_granules | ( | CORE_ADDR | addr, |
| size_t | len, | ||
| size_t | granule_size | ||
| ) |
Definition at line 81 of file aarch64-mte-linux.c.
Referenced by aarch64_linux_create_memtag_section(), aarch64_linux_decode_memtag_section(), aarch64_linux_fill_memtag_section(), aarch64_linux_set_memtags(), aarch64_mte_fetch_memtags(), and aarch64_mte_store_memtags().
| CORE_ADDR aarch64_mte_make_ltag | ( | CORE_ADDR | value | ) |
Definition at line 108 of file aarch64-mte-linux.c.
References AARCH64_MTE_LOGICAL_TAG_START_BIT, and aarch64_mte_make_ltag_bits().
Referenced by aarch64_mte_set_ltag().
| CORE_ADDR aarch64_mte_make_ltag_bits | ( | CORE_ADDR | value | ) |
Definition at line 100 of file aarch64-mte-linux.c.
References AARCH64_MTE_LOGICAL_MAX_VALUE.
Referenced by aarch64_mte_get_ltag(), and aarch64_mte_make_ltag().
| void aarch64_mte_pack_tags | ( | gdb::byte_vector & | tags | ) |
Definition at line 25 of file aarch64-mte-linux.c.
Referenced by aarch64_linux_fill_memtag_section().
| CORE_ADDR aarch64_mte_set_ltag | ( | CORE_ADDR | address, |
| CORE_ADDR | tag | ||
| ) |
Definition at line 117 of file aarch64-mte-linux.c.
References AARCH64_MTE_LOGICAL_MAX_VALUE, and aarch64_mte_make_ltag().
Referenced by aarch64_linux_set_memtags().
| void aarch64_mte_unpack_tags | ( | gdb::byte_vector & | tags, |
| bool | skip_first | ||
| ) |
Definition at line 47 of file aarch64-mte-linux.c.
Referenced by aarch64_linux_decode_memtag_section().