|
uint16_t | GetLength () const override |
| The length of the block, not including the type and length fields.
|
|
void | ReadFile (Linker::Reader &rd, uint16_t length) override |
| Fills the contents of this object.
|
|
void | WriteFile (Linker::Writer &wr) const override |
| Writes the contents of the block to the file, including the type and length fields.
|
|
std::unique_ptr< Dumper::Region > | MakeRegion (std::string name, offset_t offset, unsigned display_width) const override |
| Creates a region for displaying the block contents.
|
|
void | AddFields (Dumper::Region ®ion, const CMDFormat &module) const override |
| Adds block specific fields.
|
|
virtual void | DumpContents (Dumper::Dumper &dump, offset_t file_offset, const CMDFormat &module) const |
| Display block specific contents.
|
|
void | Dump (Dumper::Dumper &dump, offset_t file_offset, const CMDFormat &module) const |
| Displays the entire block.
|
|
| MemoryBlock (int type) |
|
|
uint32_t | block_id |
| The first 4 bytes of the block.
|
|
std::shared_ptr< Linker::Image > | image |
| The memory resident part of the block.
|
|
block_type | type |
| The type of the block.
|
|
◆ AddFields()
◆ GetLength()
uint16_t CMDFormat::LoadBlock::GetLength |
( |
| ) |
const |
|
overridevirtual |
◆ MakeRegion()
std::unique_ptr< Dumper::Region > CMDFormat::LoadBlock::MakeRegion |
( |
std::string | name, |
|
|
offset_t | offset, |
|
|
unsigned | display_width ) const |
|
overridevirtual |
◆ ReadFile()
void CMDFormat::LoadBlock::ReadFile |
( |
Linker::Reader & | rd, |
|
|
uint16_t | length ) |
|
overridevirtual |
Fills the contents of this object.
- Parameters
-
length | The number of bytes in the block, not including the type and length fields |
Reimplemented from PCOS::CMDFormat::MemoryBlock.
◆ WriteFile()
The documentation for this class was generated from the following files:
- src/format/pcos.h
- src/format/pcos.cc