RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
An abstract class to represent the optional header. More...
#include <coff.h>
Public Member Functions | |
virtual uint32_t | GetSize ()=0 |
Returns size of optional header. | |
virtual void | ReadFile (Linker::Reader &rd)=0 |
virtual void | WriteFile (Linker::Writer &wr)=0 |
virtual void | PostReadFile (COFFFormat &coff, Linker::Reader &rd) |
Retrieves any additional data from the file corresponding to this type of optional header. | |
virtual void | PostWriteFile (COFFFormat &coff, Linker::Writer &wr) |
Stores any additional data in the file corresponding to this type of optional header. | |
virtual void | Dump (COFFFormat &coff, Dumper::Dumper &dump) |
An abstract class to represent the optional header.
|
pure virtual |
Returns size of optional header.
Implemented in COFF::COFFFormat::UnknownOptionalHeader, COFF::COFFFormat::AOutHeader, COFF::COFFFormat::FlexOSAOutHeader, and COFF::COFFFormat::GNUAOutHeader.
|
virtual |
Retrieves any additional data from the file corresponding to this type of optional header.
Reimplemented in COFF::COFFFormat::FlexOSAOutHeader.
|
virtual |
Stores any additional data in the file corresponding to this type of optional header.
Reimplemented in COFF::COFFFormat::FlexOSAOutHeader.