RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ELF::ELFFormat::IBMImportTable Class Reference
Inheritance diagram for ELF::ELFFormat::IBMImportTable:
ELF::ELFFormat::SectionContents Linker::Contents

Public Member Functions

 IBMImportTable (offset_t entsize)
 
offset_t ImageSize () const override
 Retrieves the offset of the byte after the last one belonging to this format from the first one.
 
offset_t WriteFile (const std::shared_ptr< Linker::Writer > &wr) const override
 Writes data of non-zero filled sections.
 
void Dump (Dumper::Dumper &dump, const ELFFormat &fmt, unsigned index) const override
 
- Public Member Functions inherited from ELF::ELFFormat::SectionContents
virtual void AddDumperFields (std::unique_ptr< Dumper::Region > &region, Dumper::Dumper &dump, const ELFFormat &fmt, unsigned index) const
 
- Public Member Functions inherited from Linker::Contents
virtual std::shared_ptr< const Image > AsImage () const
 Retrieves a randomly accessible image.
 
std::shared_ptr< Image > AsImage ()
 Retrieves a randomly accessible image.
 

Public Attributes

offset_t entsize
 
std::vector< IBMImportEntry > imports
 

Member Function Documentation

◆ Dump()

void ELFFormat::IBMImportTable::Dump ( Dumper::Dumper &  dump,
const ELFFormat &  fmt,
unsigned  index 
) const
overridevirtual

Reimplemented from ELF::ELFFormat::SectionContents.

◆ ImageSize()

offset_t ELFFormat::IBMImportTable::ImageSize ( ) const
overridevirtual

Retrieves the offset of the byte after the last one belonging to this format from the first one.

Returns
The size of the image, or offset_t(-1) if it cannot be determined before writing to the file

Implements Linker::Contents.

◆ WriteFile()

offset_t ELFFormat::IBMImportTable::WriteFile ( const std::shared_ptr< Linker::Writer > &  wr) const
overridevirtual

Writes data of non-zero filled sections.

Implements Linker::Contents.


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