|
LLDB mainline
|
Public Member Functions | |
| void | SetNeedsUpdate () |
| bool | IsImageLoaded (uint16_t image_index) |
| uint64_t | GetVersion () |
Static Public Member Functions | |
| static std::unique_ptr< SharedCacheImageHeaders > | CreateSharedCacheImageHeaders (AppleObjCRuntimeV2 &runtime) |
Private Member Functions | |
| SharedCacheImageHeaders (AppleObjCRuntimeV2 &runtime, lldb::addr_t headerInfoRWs_ptr, uint32_t count, uint32_t entsize) | |
| llvm::Error | UpdateIfNeeded () |
Private Attributes | |
| AppleObjCRuntimeV2 & | m_runtime |
| lldb::addr_t | m_headerInfoRWs_ptr |
| llvm::BitVector | m_loaded_images |
| uint64_t | m_version |
| uint32_t | m_count |
| uint32_t | m_entsize |
| bool | m_needs_update |
Definition at line 390 of file AppleObjCRuntimeV2.h.
|
inlineprivate |
Definition at line 402 of file AppleObjCRuntimeV2.h.
References lldb_private::AppleObjCRuntimeV2::AppleObjCRuntimeV2(), m_count, m_entsize, m_headerInfoRWs_ptr, m_loaded_images, m_needs_update, m_runtime, and m_version.
|
static |
Definition at line 1712 of file AppleObjCRuntimeV2.cpp.
References LLDB_INVALID_ADDRESS, and lldb_private::AppleObjCRuntimeV2::m_tagged_pointer_obfuscator.
Referenced by ObjCExceptionRecognizedStackFrame::ObjCExceptionRecognizedStackFrame().
| uint64_t AppleObjCRuntimeV2::SharedCacheImageHeaders::GetVersion | ( | ) |
Definition at line 1854 of file AppleObjCRuntimeV2.cpp.
References lldb_private::DataExtractor::GetU32_unchecked(), and m_entsize.
| bool AppleObjCRuntimeV2::SharedCacheImageHeaders::IsImageLoaded | ( | uint16_t | image_index | ) |
Definition at line 1842 of file AppleObjCRuntimeV2.cpp.
References lldb_private::Process::GetAddressByteSize(), lldb_private::Process::GetByteOrder(), and m_entsize.
|
inline |
Definition at line 395 of file AppleObjCRuntimeV2.h.
References m_needs_update.
|
private |
Sanity check: m_count and m_entsize are external input, guard against invalid values using an arbitrary 1GB maximum size.
Definition at line 1784 of file AppleObjCRuntimeV2.cpp.
|
private |
Definition at line 414 of file AppleObjCRuntimeV2.h.
Referenced by SharedCacheImageHeaders().
|
private |
Definition at line 415 of file AppleObjCRuntimeV2.h.
Referenced by GetVersion(), IsImageLoaded(), and SharedCacheImageHeaders().
|
private |
Definition at line 411 of file AppleObjCRuntimeV2.h.
Referenced by SharedCacheImageHeaders().
|
private |
Definition at line 412 of file AppleObjCRuntimeV2.h.
Referenced by SharedCacheImageHeaders().
|
private |
Definition at line 416 of file AppleObjCRuntimeV2.h.
Referenced by SetNeedsUpdate(), and SharedCacheImageHeaders().
|
private |
Definition at line 410 of file AppleObjCRuntimeV2.h.
Referenced by SharedCacheImageHeaders().
|
private |
Definition at line 413 of file AppleObjCRuntimeV2.h.
Referenced by SharedCacheImageHeaders().