RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Represents an abstract data image whose data can be written to a file. More...
#include <image.h>
Public Member Functions | |
virtual offset_t | ImageSize () const =0 |
Retrieves size of stored data. | |
virtual offset_t | WriteFile (Writer &wr, offset_t count, offset_t offset=0) const =0 |
Writes data of non-zero filled sections. | |
virtual offset_t | WriteFile (Writer &wr) const |
Writes data of non-zero filled sections. | |
virtual std::shared_ptr< const ActualImage > | AsImage () const |
Retrieves a randomly accessible image. | |
std::shared_ptr< ActualImage > | AsImage () |
Retrieves a randomly accessible image. | |
Represents an abstract data image whose data can be written to a file.
|
virtual |
Retrieves a randomly accessible image.
Reimplemented in Linker::ActualImage.
|
pure virtual |
Retrieves size of stored data.
Implemented in ARM::AIFFormat, AOut::AOutFormat, Archive::ArchiveFormat, AS86Obj::AS86ObjFormat, Binary::GenericBinaryFormat, Binary::BinaryFormat, DOS16M::BWFormat, COFF::COFFFormat, DigitalResearch::CPM68KFormat, DigitalResearch::CPM86Format, DigitalResearch::CPM8KFormat, ELF::ELFFormat::SymbolTable, ELF::ELFFormat::StringTable, ELF::ELFFormat::Array, ELF::ELFFormat::SectionGroup, ELF::ELFFormat::Relocations, ELF::ELFFormat::HashTable, ELF::ELFFormat::DynamicSection, ELF::ELFFormat::NotesSection, ELF::ELFFormat::VersionRequirements, ELF::ELFFormat::IBMSystemInfo, ELF::ELFFormat::IBMImportTable, ELF::ELFFormat::IBMExportTable, ELF::ELFFormat::IBMResourceCollection, ELF::FatELFFormat, Apple::OMFFormat, Amiga::HunkFormat, Java::ClassFormat, MachO::FatMachOFormat, Apple::AppleSingleDouble::Entry, Apple::ResourceFork::GenericResource, Apple::ResourceFork::JumpTableCodeResource, Apple::ResourceFork::CodeResource, Apple::ResourceFork, Apple::RealName, Apple::FileInfo::Macintosh, Apple::FileInfo::ProDOS, Apple::FileInfo::MSDOS, Apple::FileInfo::AUX, Apple::FileDatesInfo, Apple::FinderInfo, Apple::MacintoshFileInfo, Apple::ProDOSFileInfo, Apple::MSDOSFileInfo, MINIX::MINIXFormat, Microsoft::NEFormat, Ergo::XPFormat, Linker::Buffer, Linker::Format, Linker::Segment, and Apple::ResourceFork::Resource.
|
virtual |
Writes data of non-zero filled sections.
Reimplemented in Apple::AppleSingleDouble::Entry, Binary::AppleFormat, Binary::AtariFormat, Binary::CommodoreFormat, Binary::CPM3Format, Binary::FLEXFormat, Binary::PRLFormat, Binary::UZIFormat, Binary::UZI280Format, ARM::AIFFormat, AOut::AOutFormat, Archive::ArchiveFormat, AS86Obj::AS86ObjFormat, Binary::GenericBinaryFormat, Binary::BinaryFormat, DOS16M::BWFormat, COFF::COFFFormat, DigitalResearch::CPM68KFormat, DigitalResearch::CPM86Format, DigitalResearch::CPM8KFormat, SeychellDOS32::AdamFormat, BrocaD3X::D3X1Format, DX64::LVFormat, ELF::ELFFormat, ELF::FatELFFormat, GEOS::GeodeFormat, Apple::OMFFormat, X68000::HUFormat, Amiga::HunkFormat, Java::ClassFormat, Microsoft::LEFormat, MachO::MachOFormat, MachO::FatMachOFormat, Apple::AppleSingleDouble, Apple::ResourceFork::Resource, Apple::ResourceFork::GenericResource, Apple::ResourceFork::JumpTableCodeResource, Apple::ResourceFork::CodeResource, Apple::ResourceFork, Apple::RealName, Apple::FileInfo::Macintosh, Apple::FileInfo::ProDOS, Apple::FileInfo::MSDOS, Apple::FileInfo::AUX, Apple::FileDatesInfo, Apple::FinderInfo, Apple::MacintoshFileInfo, Apple::ProDOSFileInfo, Apple::MSDOSFileInfo, Apple::MacBinary, Apple::MacDriver, MINIX::MINIXFormat, Microsoft::MZFormat, Microsoft::NEFormat, O65::O65Format, OMF::OMFFormat, PCOS::CMDFormat, Microsoft::PEFormat, Apple::PEFFormat, PharLap::MPFormat, PharLap::P3Format, PharLap::P3Format::Flat, PharLap::P3Format::MultiSegmented, PharLap::P3FormatContainer, PMODE::PMW1Format, Microsoft::W3Format, Xenix::BOutFormat, Xenix::XOutFormat, Ergo::XPFormat, Linker::Buffer, Linker::Section, Linker::Segment, and Linker::Format.
|
pure virtual |
Writes data of non-zero filled sections.
Implemented in ELF::ELFFormat::SymbolTable, ELF::ELFFormat::StringTable, ELF::ELFFormat::Array, ELF::ELFFormat::SectionGroup, ELF::ELFFormat::Relocations, ELF::ELFFormat::HashTable, ELF::ELFFormat::DynamicSection, ELF::ELFFormat::NotesSection, ELF::ELFFormat::VersionRequirements, ELF::ELFFormat::IBMSystemInfo, ELF::ELFFormat::IBMImportTable, ELF::ELFFormat::IBMExportTable, ELF::ELFFormat::IBMResourceCollection, Linker::Section, Linker::Buffer, Linker::Format, Linker::Section, Linker::Segment, and Linker::Buffer.