Go to the documentation of this file.
9 #ifndef LLDB_SYMBOL_OBJECTCONTAINER_H
10 #define LLDB_SYMBOL_OBJECTCONTAINER_H
176 #endif // LLDB_SYMBOL_OBJECTCONTAINER_H
virtual lldb::addr_t GetByteSize() const
virtual void Dump(Stream *s) const =0
Dump a description of this object to a Stream.
virtual ObjectFile * GetObjectFileAtIndex(uint32_t object_idx)
DataExtractor m_data
The data for this object file so things can be parsed lazily.
virtual size_t GetNumArchitectures() const
Get the number of architectures in this object file.
virtual lldb::ObjectFileSP GetObjectFile(const FileSpec *file)=0
Selects an architecture in an object file.
lldb::addr_t m_offset
The offset in bytes into the file, or the address in memory.
virtual ObjectContainer * GetObjectContainerAtIndex(uint32_t object_idx)
virtual const char * GetObjectNameAtIndex(uint32_t object_idx) const
const ObjectContainer & operator=(const ObjectContainer &)=delete
FileSpec m_file
The file that represents this container objects (which can be different from the module's file).
virtual bool GetArchitectureAtIndex(uint32_t idx, ArchSpec &arch) const
Gets the architecture given an index.
virtual bool ParseHeader()=0
Attempts to parse the object header.
~ObjectContainer() override=default
Destructor.
virtual bool ObjectAtIndexIsContainer(uint32_t object_idx)
A class that represents a running process on the host machine.
virtual lldb::addr_t GetOffset() const
Returns the offset into a file at which this object resides.
lldb::addr_t m_length
The size in bytes if known (can be zero).
virtual size_t GetNumObjects() const
Get the number of objects within this object file (archives).
ObjectContainer(const lldb::ModuleSP &module_sp, const FileSpec *file, lldb::offset_t file_offset, lldb::offset_t length, lldb::DataBufferSP &data_sp, lldb::offset_t data_offset)
Construct with a parent module, offset, and header data.