|
|
| CodeResource (uint16_t id, std::shared_ptr< JumpTableCodeResource > jump_table=nullptr) |
| |
| void | StoreNearSegmentEntries (std::shared_ptr< JumpTableCodeResource > jump_table, uint32_t &jump_table_offset, std::optional< uint32_t > starting_entry={}) |
| | For near segments, stores all entries into the jump table.
|
| |
| void | StoreFarSegmentNearEntries (std::shared_ptr< JumpTableCodeResource > jump_table, uint32_t &jump_table_offset, std::optional< uint32_t > starting_entry={}) |
| | For far segments, stores all near entries into the jump table.
|
| |
| void | StoreFarSegmentFarEntries (std::shared_ptr< JumpTableCodeResource > jump_table, uint32_t &jump_table_offset) |
| | For far segments, stores all far entries into the jump table.
|
| |
| void | StoreTransitionVectorEntries (std::shared_ptr< JumpTableCodeResource > jump_table, uint32_t &jump_table_offset, Location seg_loader, std::optional< TransitionVector > starting_tvector={}) |
| | For CFM-68K applications, stores all transition vectors into the jump table.
|
| |
| void | CalculateValues () override |
| |
| offset_t | ImageSize () const override |
| | Retrieves the offset of the byte after the last one belonging to this format from the first one.
|
| |
| void | ReadFile (const std::shared_ptr< Linker::Reader > &rd) override |
| | Loads file into memory.
|
| |
| void | ReadFile (const std::shared_ptr< Linker::Reader > &rd, offset_t length) override |
| |
|
uint32_t | MeasureRelocations (std::set< uint32_t > &relocations) const |
| |
|
void | ReadRelocations (const std::shared_ptr< Linker::Reader > &rd, std::set< uint32_t > &relocations) const |
| |
|
void | WriteRelocations (const std::shared_ptr< Linker::Writer > &wr, const std::set< uint32_t > &relocations) const |
| |
| offset_t | WriteFile (const std::shared_ptr< Linker::Writer > &wr) const override |
| | Stores data in memory to file.
|
| |
| int | GetDisplayOptions () const override |
| |
| void | Dump (Dumper::Dumper &dump, offset_t file_offset) const override |
| |
| void | AddFields (Dumper::Dumper &dump, Dumper::Region ®ion, offset_t file_offset) const override |
| |
| void | Dump (Dumper::Dumper &dump) const override |
| | Display file contents in a nice manner.
|
| |
|
virtual std::unique_ptr< Dumper::Region > | CreateRegion (std::string name, offset_t offset, offset_t length, unsigned display_width) const |
| |
| virtual void | EffectFormat (MacintoshResourceFileFormat &format, const std::shared_ptr< Linker::Reader > &rd) |
| | Apply some changes to the format after parsing.
|
| |
|
| Format (offset_t file_offset=0) |
| |
| virtual void | Clear () |
| | Resets all fields to their default values, deallocate memory.
|
| |
|
virtual void | SetFileOffset (offset_t new_offset) |
| | Attempts to alter the offset to the first byte of the format from the beginning of the file.
|
| |
| virtual std::shared_ptr< const Image > | AsImage () const |
| | Retrieves a randomly accessible image.
|
| |
|
std::shared_ptr< Image > | AsImage () |
| | Retrieves a randomly accessible image.
|
| |
|
|
std::shared_ptr< JumpTableCodeResource > | jump_table |
| |
|
std::shared_ptr< Linker::Contents > | image |
| |
|
uint32_t | zero_fill = 0 |
| |
|
HeaderFormat | header_format = Near |
| |
|
uint32_t | a5_address = 0 |
| |
|
uint32_t | base_address = 0 |
| |
|
std::set< uint32_t > | near_entries |
| |
|
uint16_t | near_entry_count = 0 |
| |
|
std::set< uint32_t > | far_entries |
| |
|
uint16_t | far_entry_count = 0 |
| |
|
std::set< uint32_t > | a5_relocations |
| |
|
std::set< uint32_t > | segment_relocations |
| |
|
std::set< TransitionVector > | transition_vectors |
| |
|
uint32_t | transition_vector_count = 0 |
| |
|
std::map< uint32_t, std::vector< Linker::Relocation > > | entry_relocations |
| |
|
std::map< TransitionVector, std::vector< Linker::Relocation > > | tvector_relocations |
| |
|
uint32_t | first_near_entry_offset |
| |
|
uint32_t | first_far_entry_offset |
| |
|
uint32_t | first_transition_vector_offset |
| |
|
uint32_t | a5_relocation_offset |
| |
|
uint32_t | segment_relocation_offset |
| |
|
uint32_t | resource_size |
| |
|
char | type [4] |
| |
|
uint16_t | id |
| |
|
std::optional< std::string > | name |
| |
|
uint8_t | attributes |
| |
|
offset_t | file_offset |
| | The offset of the first byte used by this format in the file it is stored in.
|
| |
Stores as 68K code segment, found in 'CODE' resources.