RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A simplified class to represent an optional header of unknown structure. More...
#include <coff.h>
Public Member Functions | |
UnknownOptionalHeader (offset_t size) | |
uint32_t | GetSize () override |
Returns size of optional header. | |
void | ReadFile (Linker::Reader &rd) override |
void | WriteFile (Linker::Writer &wr) override |
void | Dump (COFFFormat &coff, Dumper::Dumper &dump) override |
Public Member Functions inherited from COFF::COFFFormat::OptionalHeader | |
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. | |
Public Attributes | |
std::unique_ptr< Linker::Buffer > | buffer = nullptr |
A simplified class to represent an optional header of unknown structure.
|
overridevirtual |
Reimplemented from COFF::COFFFormat::OptionalHeader.
|
overridevirtual |
Returns size of optional header.
Implements COFF::COFFFormat::OptionalHeader.
|
overridevirtual |
Implements COFF::COFFFormat::OptionalHeader.
|
overridevirtual |
Implements COFF::COFFFormat::OptionalHeader.