LLDB mainline
|
#include <MemoryRegionInfo.h>
Public Types | |
enum | OptionalBool { eDontKnow = -1 , eNo = 0 , eYes = 1 } |
typedef Range< lldb::addr_t, lldb::addr_t > | RangeType |
Protected Attributes | |
RangeType | m_range |
OptionalBool | m_read = eDontKnow |
OptionalBool | m_write = eDontKnow |
OptionalBool | m_execute = eDontKnow |
OptionalBool | m_shared = eDontKnow |
OptionalBool | m_mapped = eDontKnow |
ConstString | m_name |
OptionalBool | m_flash = eDontKnow |
lldb::offset_t | m_blocksize = 0 |
OptionalBool | m_memory_tagged = eDontKnow |
OptionalBool | m_is_stack_memory = eDontKnow |
int | m_pagesize = 0 |
std::optional< std::vector< lldb::addr_t > > | m_dirty_pages |
Definition at line 21 of file MemoryRegionInfo.h.
Definition at line 23 of file MemoryRegionInfo.h.
Enumerator | |
---|---|
eDontKnow | |
eNo | |
eYes |
Definition at line 25 of file MemoryRegionInfo.h.
|
default |
Referenced by Clear().
|
inline |
Definition at line 28 of file MemoryRegionInfo.h.
|
inline |
Definition at line 40 of file MemoryRegionInfo.h.
References MemoryRegionInfo().
Referenced by ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), and lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache().
|
inline |
Definition at line 74 of file MemoryRegionInfo.h.
References m_blocksize.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo().
|
inline |
Get a vector of target VM pages that are dirty – that have been modified – within this memory region.
This is an Optional return value; it will only be available if the remote stub was able to detail this.
Definition at line 123 of file MemoryRegionInfo.h.
References m_dirty_pages.
Referenced by AddDirtyPages(), and CommandObjectMemoryRegion::DumpRegion().
|
inline |
Definition at line 48 of file MemoryRegionInfo.h.
References m_execute.
Referenced by CheckForLinuxExecutable(), CommandObjectMemoryRegion::DumpRegion(), lldb_private::IRMemoryMap::FindSpace(), lldb_private::Process::GetLoadAddressPermissions(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo().
|
inline |
Definition at line 70 of file MemoryRegionInfo.h.
References m_flash.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo().
|
inline |
Definition at line 82 of file MemoryRegionInfo.h.
References eYes, m_execute, m_read, and m_write.
Referenced by AddDirtyPages(), AddRegion(), CreateCoreFileMemoryRange(), and lldb_private::Process::GetLoadAddressPermissions().
|
inline |
Definition at line 52 of file MemoryRegionInfo.h.
References m_mapped.
Referenced by lldb_private::minidump::ProcessMinidump::BuildMemoryRegions(), lldb_private::Process::GetMemoryRegions(), DynamicLoaderPOSIXDYLD::LoadInterpreterModule(), DynamicLoaderPOSIXDYLD::LoadModuleAtAddress(), and lldb_private::ProcessDebugger::ReadMemory().
|
inline |
Definition at line 56 of file MemoryRegionInfo.h.
References m_memory_tagged.
Referenced by CommandObjectMemoryRegion::DumpRegion(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo().
|
inline |
Definition at line 54 of file MemoryRegionInfo.h.
References m_name.
Referenced by CheckForLinuxExecutable(), CommandObjectMemoryRegion::DumpRegion(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), DynamicLoaderPOSIXDYLD::LoadInterpreterModule(), DynamicLoaderPOSIXDYLD::LoadModuleAtAddress(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache(), and DYLDRendezvous::UpdateFileSpecIfNecessary().
|
inline |
Get the target system's VM page size in bytes.
Definition at line 117 of file MemoryRegionInfo.h.
References m_pagesize.
Referenced by AddDirtyPages().
|
inline |
Definition at line 38 of file MemoryRegionInfo.h.
References m_range.
Referenced by lldb_private::SaveCoreOptions::AddMemoryRegionToSave(), AddRegion(), MinidumpFileBuilder::AddThreadList(), lldb_private::minidump::ProcessMinidump::BuildMemoryRegions(), CheckForLinuxExecutable(), CreateCoreFileMemoryRange(), CreateRegionsCacheFromMemoryInfoList(), CreateRegionsCacheFromMemoryList(), CommandObjectMemoryRegion::DoExecute(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), CommandObjectMemoryRegion::DumpRegion(), lldb_private::Process::FindInMemory(), lldb_private::IRMemoryMap::FindSpace(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::minidump::MinidumpParser::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::Process::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::Process::GetMemoryRegions(), lldb_private::ScriptedProcess::GetMemoryRegions(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), DynamicLoaderPOSIXDYLD::LoadModuleAtAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LoadQXferMemoryMap(), DynamicLoaderPOSIXDYLD::LoadVDSO(), lldb_private::operator<(), ParseMemoryRegionInfoFromProcMapsLine(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache(), lldb_private::ProcessDebugger::ReadMemory(), and SaveOffRegionsWithStackPointers().
|
inline |
Definition at line 42 of file MemoryRegionInfo.h.
References m_range.
|
inline |
Definition at line 44 of file MemoryRegionInfo.h.
References m_read.
Referenced by CommandObjectMemoryRegion::DumpRegion(), lldb_private::IRMemoryMap::FindSpace(), lldb_private::Process::GetLoadAddressPermissions(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo().
|
inline |
Definition at line 50 of file MemoryRegionInfo.h.
References m_shared.
|
inline |
Definition at line 46 of file MemoryRegionInfo.h.
References m_write.
Referenced by CommandObjectMemoryRegion::DumpRegion(), lldb_private::IRMemoryMap::FindSpace(), lldb_private::Process::GetLoadAddressPermissions(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo().
|
inline |
Definition at line 127 of file MemoryRegionInfo.h.
References m_is_stack_memory.
|
inline |
Definition at line 112 of file MemoryRegionInfo.h.
|
inline |
Definition at line 101 of file MemoryRegionInfo.h.
References m_blocksize, m_execute, m_flash, m_is_stack_memory, m_mapped, m_memory_tagged, m_name, m_pagesize, m_range, m_read, m_shared, and m_write.
|
inline |
Definition at line 76 of file MemoryRegionInfo.h.
References m_blocksize.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo().
|
inline |
Definition at line 133 of file MemoryRegionInfo.h.
References m_dirty_pages.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo().
|
inline |
Definition at line 62 of file MemoryRegionInfo.h.
References m_execute.
Referenced by CreateRegionsCacheFromMemoryInfoList(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::minidump::MinidumpParser::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), ParseMemoryRegionInfoFromProcMapsLine(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), and lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache().
|
inline |
Definition at line 72 of file MemoryRegionInfo.h.
References m_flash.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo().
|
inline |
Definition at line 129 of file MemoryRegionInfo.h.
References m_is_stack_memory.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo().
|
inline |
|
inline |
Definition at line 66 of file MemoryRegionInfo.h.
References m_mapped.
Referenced by CreateRegionsCacheFromMemoryInfoList(), CreateRegionsCacheFromMemoryList(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::minidump::MinidumpParser::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), ParseMemoryRegionInfoFromProcMapsLine(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), and lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache().
|
inline |
Definition at line 78 of file MemoryRegionInfo.h.
References m_memory_tagged.
Referenced by ProcessElfCore::DoGetMemoryRegionInfo(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo().
|
inline |
Definition at line 68 of file MemoryRegionInfo.h.
References m_name.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), ParseMemoryRegionInfoFromProcMapsLine(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), and lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache().
|
inline |
Definition at line 131 of file MemoryRegionInfo.h.
References m_pagesize.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo().
|
inline |
Definition at line 58 of file MemoryRegionInfo.h.
References m_read.
Referenced by CreateRegionsCacheFromMemoryInfoList(), CreateRegionsCacheFromMemoryList(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::minidump::MinidumpParser::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), ParseMemoryRegionInfoFromProcMapsLine(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), and lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache().
|
inline |
Definition at line 64 of file MemoryRegionInfo.h.
References m_shared.
Referenced by ParseMemoryRegionInfoFromProcMapsLine().
|
inline |
Definition at line 60 of file MemoryRegionInfo.h.
References m_write.
Referenced by CreateRegionsCacheFromMemoryInfoList(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::minidump::MinidumpParser::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), ParseMemoryRegionInfoFromProcMapsLine(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), and lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache().
|
protected |
Definition at line 148 of file MemoryRegionInfo.h.
Referenced by GetBlocksize(), operator==(), and SetBlocksize().
|
protected |
Definition at line 152 of file MemoryRegionInfo.h.
Referenced by GetDirtyPageList(), and SetDirtyPageList().
|
protected |
Definition at line 143 of file MemoryRegionInfo.h.
Referenced by GetExecutable(), GetLLDBPermissions(), operator==(), SetExecutable(), and SetLLDBPermissions().
|
protected |
Definition at line 147 of file MemoryRegionInfo.h.
Referenced by GetFlash(), operator==(), and SetFlash().
|
protected |
Definition at line 150 of file MemoryRegionInfo.h.
Referenced by IsStackMemory(), operator==(), and SetIsStackMemory().
|
protected |
Definition at line 145 of file MemoryRegionInfo.h.
Referenced by GetMapped(), operator==(), and SetMapped().
|
protected |
Definition at line 149 of file MemoryRegionInfo.h.
Referenced by GetMemoryTagged(), operator==(), and SetMemoryTagged().
|
protected |
Definition at line 146 of file MemoryRegionInfo.h.
Referenced by GetName(), operator==(), and SetName().
|
protected |
Definition at line 151 of file MemoryRegionInfo.h.
Referenced by GetPageSize(), operator==(), and SetPageSize().
|
protected |
Definition at line 140 of file MemoryRegionInfo.h.
Referenced by GetRange(), and operator==().
|
protected |
Definition at line 141 of file MemoryRegionInfo.h.
Referenced by GetLLDBPermissions(), GetReadable(), operator==(), SetLLDBPermissions(), and SetReadable().
|
protected |
Definition at line 144 of file MemoryRegionInfo.h.
Referenced by GetShared(), operator==(), and SetShared().
|
protected |
Definition at line 142 of file MemoryRegionInfo.h.
Referenced by GetLLDBPermissions(), GetWritable(), operator==(), SetLLDBPermissions(), and SetWritable().