LLDB mainline
Public Types | Public Member Functions | Private Attributes | List of all members
DynamicLoaderFreeBSDKernel::KModImageInfo Class Reference

#include <DynamicLoaderFreeBSDKernel.h>

Public Types

using collection_type = std::vector< KModImageInfo >
 

Public Member Functions

 KModImageInfo ()
 
void Clear ()
 
void SetLoadAddress (lldb::addr_t load_address)
 
lldb::addr_t GetLoadAddress () const
 
void SetUUID (const lldb_private::UUID uuid)
 
lldb_private::UUID GetUUID () const
 
void SetName (const char *name)
 
std::string GetName () const
 
void SetPath (const char *path)
 
std::string GetPath () const
 
void SetModule (lldb::ModuleSP module)
 
lldb::ModuleSP GetModule ()
 
void SetIsKernel (bool is_kernel)
 
bool IsKernel () const
 
void SetStopID (uint32_t stop_id)
 
uint32_t GetStopID ()
 
bool IsLoaded () const
 
bool ReadMemoryModule (lldb_private::Process *process)
 
bool LoadImageUsingMemoryModule (lldb_private::Process *process)
 
bool LoadImageUsingFileAddress (lldb_private::Process *process)
 

Private Attributes

lldb::ModuleSP m_module_sp
 
lldb::ModuleSP m_memory_module_sp
 
lldb::addr_t m_load_address = LLDB_INVALID_ADDRESS
 
lldb_private::UUID m_uuid
 
bool m_is_kernel = false
 
std::string m_name
 
std::string m_path
 
uint32_t m_stop_id = UINT32_MAX
 

Detailed Description

Definition at line 59 of file DynamicLoaderFreeBSDKernel.h.

Member Typedef Documentation

◆ collection_type

Definition at line 112 of file DynamicLoaderFreeBSDKernel.h.

Constructor & Destructor Documentation

◆ KModImageInfo()

DynamicLoaderFreeBSDKernel::KModImageInfo::KModImageInfo ( )
inline

Definition at line 61 of file DynamicLoaderFreeBSDKernel.h.

Member Function Documentation

◆ Clear()

void DynamicLoaderFreeBSDKernel::KModImageInfo::Clear ( )
inline

◆ GetLoadAddress()

lldb::addr_t DynamicLoaderFreeBSDKernel::KModImageInfo::GetLoadAddress ( ) const
inline

◆ GetModule()

lldb::ModuleSP DynamicLoaderFreeBSDKernel::KModImageInfo::GetModule ( )
inline

◆ GetName()

std::string DynamicLoaderFreeBSDKernel::KModImageInfo::GetName ( ) const
inline

Definition at line 86 of file DynamicLoaderFreeBSDKernel.h.

References m_name.

Referenced by DynamicLoaderFreeBSDKernel::ReadAllKmods().

◆ GetPath()

std::string DynamicLoaderFreeBSDKernel::KModImageInfo::GetPath ( ) const
inline

Definition at line 90 of file DynamicLoaderFreeBSDKernel.h.

References m_path.

◆ GetStopID()

uint32_t DynamicLoaderFreeBSDKernel::KModImageInfo::GetStopID ( )
inline

Definition at line 102 of file DynamicLoaderFreeBSDKernel.h.

References m_stop_id.

◆ GetUUID()

lldb_private::UUID DynamicLoaderFreeBSDKernel::KModImageInfo::GetUUID ( ) const
inline

Definition at line 82 of file DynamicLoaderFreeBSDKernel.h.

References m_uuid.

◆ IsKernel()

bool DynamicLoaderFreeBSDKernel::KModImageInfo::IsKernel ( ) const
inline

Definition at line 98 of file DynamicLoaderFreeBSDKernel.h.

References m_is_kernel.

◆ IsLoaded()

bool DynamicLoaderFreeBSDKernel::KModImageInfo::IsLoaded ( ) const
inline

Definition at line 104 of file DynamicLoaderFreeBSDKernel.h.

References m_stop_id, and UINT32_MAX.

Referenced by DynamicLoaderFreeBSDKernel::LoadKernelModules().

◆ LoadImageUsingFileAddress()

bool DynamicLoaderFreeBSDKernel::KModImageInfo::LoadImageUsingFileAddress ( lldb_private::Process process)

◆ LoadImageUsingMemoryModule()

bool DynamicLoaderFreeBSDKernel::KModImageInfo::LoadImageUsingMemoryModule ( lldb_private::Process process)

◆ ReadMemoryModule()

bool DynamicLoaderFreeBSDKernel::KModImageInfo::ReadMemoryModule ( lldb_private::Process process)

◆ SetIsKernel()

void DynamicLoaderFreeBSDKernel::KModImageInfo::SetIsKernel ( bool  is_kernel)
inline

Definition at line 96 of file DynamicLoaderFreeBSDKernel.h.

References is_kernel(), and m_is_kernel.

Referenced by DynamicLoaderFreeBSDKernel::LoadKernelModules().

◆ SetLoadAddress()

void DynamicLoaderFreeBSDKernel::KModImageInfo::SetLoadAddress ( lldb::addr_t  load_address)
inline

◆ SetModule()

void DynamicLoaderFreeBSDKernel::KModImageInfo::SetModule ( lldb::ModuleSP  module)
inline

Definition at line 92 of file DynamicLoaderFreeBSDKernel.h.

References m_module_sp.

Referenced by DynamicLoaderFreeBSDKernel::LoadKernelModules().

◆ SetName()

void DynamicLoaderFreeBSDKernel::KModImageInfo::SetName ( const char *  name)
inline

◆ SetPath()

void DynamicLoaderFreeBSDKernel::KModImageInfo::SetPath ( const char *  path)
inline

Definition at line 88 of file DynamicLoaderFreeBSDKernel.h.

References m_path.

Referenced by DynamicLoaderFreeBSDKernel::ReadAllKmods().

◆ SetStopID()

void DynamicLoaderFreeBSDKernel::KModImageInfo::SetStopID ( uint32_t  stop_id)
inline

Definition at line 100 of file DynamicLoaderFreeBSDKernel.h.

References m_stop_id.

◆ SetUUID()

void DynamicLoaderFreeBSDKernel::KModImageInfo::SetUUID ( const lldb_private::UUID  uuid)
inline

Definition at line 80 of file DynamicLoaderFreeBSDKernel.h.

References m_uuid.

Member Data Documentation

◆ m_is_kernel

bool DynamicLoaderFreeBSDKernel::KModImageInfo::m_is_kernel = false
private

Definition at line 119 of file DynamicLoaderFreeBSDKernel.h.

Referenced by IsKernel(), ReadMemoryModule(), and SetIsKernel().

◆ m_load_address

lldb::addr_t DynamicLoaderFreeBSDKernel::KModImageInfo::m_load_address = LLDB_INVALID_ADDRESS
private

◆ m_memory_module_sp

lldb::ModuleSP DynamicLoaderFreeBSDKernel::KModImageInfo::m_memory_module_sp
private

Definition at line 116 of file DynamicLoaderFreeBSDKernel.h.

Referenced by Clear(), and ReadMemoryModule().

◆ m_module_sp

lldb::ModuleSP DynamicLoaderFreeBSDKernel::KModImageInfo::m_module_sp
private

Definition at line 115 of file DynamicLoaderFreeBSDKernel.h.

Referenced by Clear(), GetModule(), and SetModule().

◆ m_name

std::string DynamicLoaderFreeBSDKernel::KModImageInfo::m_name
private

Definition at line 120 of file DynamicLoaderFreeBSDKernel.h.

Referenced by Clear(), GetName(), ReadMemoryModule(), and SetName().

◆ m_path

std::string DynamicLoaderFreeBSDKernel::KModImageInfo::m_path
private

Definition at line 121 of file DynamicLoaderFreeBSDKernel.h.

Referenced by Clear(), GetPath(), and SetPath().

◆ m_stop_id

uint32_t DynamicLoaderFreeBSDKernel::KModImageInfo::m_stop_id = UINT32_MAX
private

Definition at line 122 of file DynamicLoaderFreeBSDKernel.h.

Referenced by Clear(), GetStopID(), IsLoaded(), and SetStopID().

◆ m_uuid

lldb_private::UUID DynamicLoaderFreeBSDKernel::KModImageInfo::m_uuid
private

Definition at line 118 of file DynamicLoaderFreeBSDKernel.h.

Referenced by Clear(), GetUUID(), ReadMemoryModule(), and SetUUID().


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