|
LLDB mainline
|
#include <SBSection.h>
Private Member Functions | |
| SBSection (const lldb::SectionSP §ion_sp) | |
| lldb::SectionSP | GetSP () const |
| void | SetSP (const lldb::SectionSP §ion_sp) |
Private Attributes | |
| lldb::SectionWP | m_opaque_wp |
Friends | |
| class | SBAddress |
| class | SBModule |
| class | SBTarget |
Definition at line 17 of file SBSection.h.
| SBSection::SBSection | ( | ) |
Definition at line 23 of file SBSection.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by operator!=(), operator=(), operator==(), SBSection(), SBTarget, and ~SBSection().
| SBSection::SBSection | ( | const lldb::SBSection & | rhs | ) |
Definition at line 25 of file SBSection.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_wp, and SBSection().
|
default |
|
private |
Definition at line 29 of file SBSection.cpp.
References m_opaque_wp.
| lldb::SBSection SBSection::FindSubSection | ( | const char * | sect_name | ) |
Definition at line 78 of file SBSection.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and SetSP().
Referenced by ~SBSection().
| uint32_t SBSection::GetAlignment | ( | ) |
Return the alignment of the section in bytes.
Definition at line 217 of file SBSection.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBSection().
| lldb::addr_t SBSection::GetByteSize | ( | ) |
Definition at line 140 of file SBSection.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBSection().
| bool SBSection::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 244 of file SBSection.cpp.
References lldb_private::Stream::AsRawOstream(), GetSP(), LLDB_INSTRUMENT_VA, lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
Referenced by ~SBSection().
| lldb::addr_t SBSection::GetFileAddress | ( | ) |
Definition at line 118 of file SBSection.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_ADDRESS.
Referenced by ~SBSection().
| uint64_t SBSection::GetFileByteSize | ( | ) |
Definition at line 164 of file SBSection.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBSection().
| uint64_t SBSection::GetFileOffset | ( | ) |
Definition at line 149 of file SBSection.cpp.
References lldb_private::ObjectFile::GetFileOffset(), GetSP(), LLDB_INSTRUMENT_VA, and UINT64_MAX.
Referenced by ~SBSection().
| lldb::addr_t SBSection::GetLoadAddress | ( | lldb::SBTarget & | target | ) |
Definition at line 128 of file SBSection.cpp.
References GetSP(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_ADDRESS.
Referenced by ~SBSection().
| const char * SBSection::GetName | ( | ) |
Definition at line 56 of file SBSection.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
| size_t SBSection::GetNumSubSections | ( | ) |
Definition at line 93 of file SBSection.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBSection().
| lldb::SBSection SBSection::GetParent | ( | ) |
Definition at line 65 of file SBSection.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and SetSP().
Referenced by ~SBSection().
| uint32_t SBSection::GetPermissions | ( | ) | const |
Gets the permissions (RWX) of the section of the object file.
Returns a mask of bits of enum lldb::Permissions for this section. Sections for which permissions are not defined, 0 is returned for them. The binary representation of this value corresponds to [XRW] i.e. for a section having read and execute permissions, the value returned is 6
Definition at line 202 of file SBSection.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
| SBData SBSection::GetSectionData | ( | ) |
Definition at line 173 of file SBSection.cpp.
References GetSectionData(), LLDB_INSTRUMENT_VA, and UINT64_MAX.
Referenced by GetSectionData(), and ~SBSection().
| SBData SBSection::GetSectionData | ( | uint64_t | offset, |
| uint64_t | size ) |
Definition at line 179 of file SBSection.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBData::SetOpaque().
| SectionType SBSection::GetSectionType | ( | ) |
Definition at line 193 of file SBSection.cpp.
References lldb::eSectionTypeInvalid, GetSP(), and LLDB_INSTRUMENT_VA.
|
private |
Definition at line 112 of file SBSection.cpp.
References m_opaque_wp.
Referenced by lldb::SBTarget::ClearSectionLoadAddress(), FindSubSection(), GetAlignment(), GetByteSize(), GetDescription(), GetFileAddress(), GetFileByteSize(), GetFileOffset(), GetLoadAddress(), GetName(), GetNumSubSections(), GetParent(), GetPermissions(), GetSectionData(), GetSectionType(), GetSubSectionAtIndex(), operator bool(), operator!=(), operator==(), SBTarget, lldb::SBAddress::SetAddress(), and lldb::SBTarget::SetSectionLoadAddress().
| lldb::SBSection SBSection::GetSubSectionAtIndex | ( | size_t | idx | ) |
Definition at line 102 of file SBSection.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and SetSP().
Referenced by ~SBSection().
| uint32_t SBSection::GetTargetByteSize | ( | ) |
Definition at line 211 of file SBSection.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by ~SBSection().
| bool SBSection::IsValid | ( | ) | const |
Definition at line 45 of file SBSection.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBTarget::ClearSectionLoadAddress(), lldb::SBTarget::SetSectionLoadAddress(), and ~SBSection().
|
explicit |
Definition at line 49 of file SBSection.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
| bool SBSection::operator!= | ( | const lldb::SBSection & | rhs | ) |
Definition at line 236 of file SBSection.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and SBSection().
| const SBSection & SBSection::operator= | ( | const lldb::SBSection & | rhs | ) |
Definition at line 36 of file SBSection.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_wp, and SBSection().
Referenced by ~SBSection().
| bool SBSection::operator== | ( | const lldb::SBSection & | rhs | ) |
Definition at line 226 of file SBSection.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and SBSection().
|
private |
Definition at line 114 of file SBSection.cpp.
References m_opaque_wp.
Referenced by lldb::SBModule::FindSection(), FindSubSection(), GetParent(), lldb::SBAddress::GetSection(), lldb::SBModule::GetSectionAtIndex(), GetSubSectionAtIndex(), and SBTarget.
|
friend |
|
friend |
|
friend |
Definition at line 88 of file SBSection.h.
References GetSP(), SBSection(), SBTarget, and SetSP().
Referenced by SBTarget.
|
private |
Definition at line 96 of file SBSection.h.
Referenced by GetSP(), operator=(), SBSection(), SBSection(), and SetSP().