GDBserver
Loading...
Searching...
No Matches
Functions
aarch64-mte-linux-ptrace.c File Reference
#include "gdbsupport/common-defs.h"
#include "gdbsupport/byte-vector.h"
#include "linux-ptrace.h"
#include "arch/aarch64.h"
#include "arch/aarch64-mte-linux.h"
#include "nat/aarch64-linux.h"
#include "nat/aarch64-mte-linux-ptrace.h"
#include <sys/uio.h>

Go to the source code of this file.

Functions

static void ATTRIBUTE_NORETURN aarch64_mte_linux_peek_error (int error)
 
static void ATTRIBUTE_NORETURN aarch64_mte_linux_poke_error (int error)
 
static gdb::byte_vector prepare_tag_vector (size_t granules, const gdb::byte_vector &tags, size_t pos, size_t max_size)
 
bool aarch64_mte_fetch_memtags (int tid, CORE_ADDR address, size_t len, gdb::byte_vector &tags)
 
bool aarch64_mte_store_memtags (int tid, CORE_ADDR address, size_t len, const gdb::byte_vector &tags)
 

Function Documentation

◆ aarch64_mte_fetch_memtags()

bool aarch64_mte_fetch_memtags ( int tid,
CORE_ADDR address,
size_t len,
gdb::byte_vector & tags )

◆ aarch64_mte_linux_peek_error()

static void ATTRIBUTE_NORETURN aarch64_mte_linux_peek_error ( int error)
static

Definition at line 36 of file aarch64-mte-linux-ptrace.c.

Referenced by aarch64_mte_fetch_memtags().

◆ aarch64_mte_linux_poke_error()

static void ATTRIBUTE_NORETURN aarch64_mte_linux_poke_error ( int error)
static

Definition at line 58 of file aarch64-mte-linux-ptrace.c.

Referenced by aarch64_mte_store_memtags().

◆ aarch64_mte_store_memtags()

bool aarch64_mte_store_memtags ( int tid,
CORE_ADDR address,
size_t len,
const gdb::byte_vector & tags )

◆ prepare_tag_vector()

static gdb::byte_vector prepare_tag_vector ( size_t granules,
const gdb::byte_vector & tags,
size_t pos,
size_t max_size )
static

Definition at line 86 of file aarch64-mte-linux-ptrace.c.

References AARCH64_MTE_TAGS_MAX_SIZE.

Referenced by aarch64_mte_store_memtags().