LLDB mainline
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

Constructor & Destructor Documentation

◆ KModImageInfo()

DynamicLoaderFreeBSDKernel::KModImageInfo::KModImageInfo ( )
inline

Definition at line 61 of file DynamicLoaderFreeBSDKernel.h.

References m_memory_module_sp, m_module_sp, m_name, m_path, and m_uuid.

Member Function Documentation

◆ Clear()

void DynamicLoaderFreeBSDKernel::KModImageInfo::Clear ( )
inline

◆ GetLoadAddress()

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

Definition at line 78 of file DynamicLoaderFreeBSDKernel.h.

References m_load_address.

◆ GetModule()

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

Definition at line 94 of file DynamicLoaderFreeBSDKernel.h.

References m_module_sp.

◆ 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.

Referenced by LoadImageUsingMemoryModule().

◆ 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.

Referenced by LoadImageUsingMemoryModule().

◆ IsLoaded()

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

Definition at line 104 of file DynamicLoaderFreeBSDKernel.h.

References m_stop_id, and UINT32_MAX.

Referenced by LoadImageUsingFileAddress(), and LoadImageUsingMemoryModule().

◆ LoadImageUsingFileAddress()

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

◆ LoadImageUsingMemoryModule()

◆ ReadMemoryModule()

◆ SetIsKernel()

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

Definition at line 96 of file DynamicLoaderFreeBSDKernel.h.

References is_kernel(), and m_is_kernel.

◆ SetLoadAddress()

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

Definition at line 74 of file DynamicLoaderFreeBSDKernel.h.

References m_load_address.

Referenced by DynamicLoaderFreeBSDKernel::ReadAllKmods().

◆ SetModule()

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

Definition at line 92 of file DynamicLoaderFreeBSDKernel.h.

References m_module_sp.

◆ SetName()

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

Definition at line 84 of file DynamicLoaderFreeBSDKernel.h.

References m_name.

Referenced by DynamicLoaderFreeBSDKernel::ReadAllKmods().

◆ 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

◆ m_module_sp

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

◆ m_name

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

◆ m_path

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

Definition at line 121 of file DynamicLoaderFreeBSDKernel.h.

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

◆ m_stop_id

uint32_t DynamicLoaderFreeBSDKernel::KModImageInfo::m_stop_id = UINT32_MAX
private

◆ m_uuid

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

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