LLDB mainline
|
#include "StopInfoMachException.h"
#include "lldb/lldb-forward.h"
#include "lldb/Breakpoint/Watchpoint.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Target/ABI.h"
#include "lldb/Target/DynamicLoader.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadPlan.h"
#include "lldb/Target/UnixSignals.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"
#include <optional>
Go to the source code of this file.
Classes | |
struct | PtrauthInstructionInfo |
Information about a pointer-authentication related instruction. More... | |
Functions | |
static std::optional< PtrauthInstructionInfo > | GetPtrauthInstructionInfo (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. | |
static StopInfoSP | GetStopInfoForHardwareBP (Thread &thread, Target *target, uint32_t exc_data_count, uint64_t exc_sub_code, uint64_t exc_sub_sub_code) |
Describe the load address of addr
using the format filename:line:col.
Definition at line 68 of file StopInfoMachException.cpp.
References lldb::eDescriptionLevelBrief, lldb_private::Address::GetDescription(), lldb_private::Address::GetLoadAddress(), lldb_private::StreamString::GetString(), and lldb_private::Stream::Printf().
Referenced by lldb_private::StopInfoMachException::DeterminePtrauthFailure().
|
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(), lldb_private::InstructionList::GetInstructionAtIndex(), and PtrauthInstructionInfo::IsAuthenticated.
Referenced by lldb_private::StopInfoMachException::DeterminePtrauthFailure().
|
static |
Definition at line 491 of file StopInfoMachException.cpp.
References lldb_private::StopInfo::CreateStopReasonWithBreakpointSiteID(), lldb_private::StopInfo::CreateStopReasonWithWatchpointID(), lldb_private::UserID::GetID(), lldb_private::Thread::GetProcess(), and lldb_private::Target::GetProcessSP().
Referenced by lldb_private::StopInfoMachException::CreateStopReasonWithMachException().