LLDB mainline
StopInfoMachException.cpp File Reference

Go to the source code of this file.

Classes

struct  PtrauthInstructionInfo
 Information about a pointer-authentication related instruction. More...

Functions

static std::optional< PtrauthInstructionInfoGetPtrauthInstructionInfo (Target &target, const ArchSpec &arch, const Address &at_addr)
 Get any pointer-authentication related information about the instruction at address at_addr.
static void DescribeAddressBriefly (Stream &strm, const Address &addr, Target &target)
 Describe the load address of addr using the format filename:line:col.

Variables

static constexpr uint8_t g_mte_tag_shift = 64 - 8
static constexpr addr_t g_mte_tag_mask = (addr_t)0x0f << g_mte_tag_shift

Function Documentation

◆ DescribeAddressBriefly()

void DescribeAddressBriefly ( Stream & strm,
const Address & addr,
Target & target )
static

◆ GetPtrauthInstructionInfo()

std::optional< PtrauthInstructionInfo > GetPtrauthInstructionInfo ( Target & target,
const ArchSpec & arch,
const Address & at_addr )
static

Get any pointer-authentication related information about the instruction at address at_addr.

Definition at line 47 of file StopInfoMachException.cpp.

References lldb_private::Disassembler::DisassembleRange(), and lldb_private::InstructionList::GetInstructionAtIndex().

Referenced by lldb_private::StopInfoMachException::DeterminePtrauthFailure().

Variable Documentation

◆ g_mte_tag_mask

addr_t g_mte_tag_mask = (addr_t)0x0f << g_mte_tag_shift
staticconstexpr

◆ g_mte_tag_shift

uint8_t g_mte_tag_shift = 64 - 8
staticconstexpr