LLDB mainline
Public Member Functions | Private Attributes | List of all members
CommandObjectMemoryFind::ProcessMemoryIterator Class Reference

Public Member Functions

 ProcessMemoryIterator (ProcessSP process_sp, lldb::addr_t base)
bool IsValid ()
uint8_t operator[] (lldb::addr_t offset)

Private Attributes

ProcessSP m_process_sp
lldb::addr_t m_base_addr
bool m_is_valid = true

Detailed Description

Definition at line 980 of file CommandObjectMemory.cpp.

Constructor & Destructor Documentation

◆ ProcessMemoryIterator()

CommandObjectMemoryFind::ProcessMemoryIterator::ProcessMemoryIterator ( ProcessSP  process_sp,
lldb::addr_t  base 

Definition at line 982 of file CommandObjectMemory.cpp.

References lldbassert.

Member Function Documentation

◆ IsValid()

bool CommandObjectMemoryFind::ProcessMemoryIterator::IsValid ( )

Definition at line 987 of file CommandObjectMemory.cpp.

References m_is_valid.

Referenced by operator[]().

◆ operator[]()

uint8_t CommandObjectMemoryFind::ProcessMemoryIterator::operator[] ( lldb::addr_t  offset)

Definition at line 989 of file CommandObjectMemory.cpp.

References error(), IsValid(), m_base_addr, m_is_valid, and m_process_sp.

Member Data Documentation

◆ m_base_addr

lldb::addr_t CommandObjectMemoryFind::ProcessMemoryIterator::m_base_addr

Definition at line 1006 of file CommandObjectMemory.cpp.

Referenced by operator[]().

◆ m_is_valid

bool CommandObjectMemoryFind::ProcessMemoryIterator::m_is_valid = true

Definition at line 1007 of file CommandObjectMemory.cpp.

Referenced by IsValid(), and operator[]().

◆ m_process_sp

ProcessSP CommandObjectMemoryFind::ProcessMemoryIterator::m_process_sp

Definition at line 1005 of file CommandObjectMemory.cpp.

Referenced by operator[]().

The documentation for this class was generated from the following file: