9#ifndef LLDB_CORE_ADDRESSRANGE_H
10#define LLDB_CORE_ADDRESSRANGE_H
A section + offset based address range class.
Address & GetBaseAddress()
Get accessor for the base address of the range.
bool ContainsFileAddress(const Address &so_addr) const
Check if a section offset address is contained in this range.
Address m_base_addr
The section offset base address of this range.
bool operator!=(const AddressRange &rhs)
bool operator==(const AddressRange &rhs)
bool Dump(Stream *s, Target *target, Address::DumpStyle style, Address::DumpStyle fallback_style=Address::DumpStyleInvalid) const
Dump a description of this object to a Stream.
bool GetDescription(Stream *s, Target *target) const
void Clear()
Clear the object's state.
void DumpDebug(Stream *s) const
Dump a debug description of this object to a Stream.
AddressRange()
Default constructor.
~AddressRange()
Destructor.
bool ContainsLoadAddress(const Address &so_addr, Target *target) const
Check if a section offset so_addr when represented as a load address is contained within this object'...
bool Extend(const AddressRange &rhs_range)
Extends this range with rhs_range if it overlaps this range on the right side.
void SetByteSize(lldb::addr_t byte_size)
Set accessor for the byte size of this range.
size_t MemorySize() const
Get the memory cost of this object.
lldb::addr_t GetByteSize() const
Get accessor for the byte size of this range.
const Address & GetBaseAddress() const
Get const accessor for the base address of the range.
lldb::addr_t m_byte_size
The size in bytes of this address range.
A section + offset based address class.
DumpStyle
Dump styles allow the Address::Dump(Stream *,DumpStyle) const function to display Address contents in...
@ DumpStyleInvalid
Invalid dump style.
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Section > SectionSP