|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A region within a file that can be dumped, decompiled, and it may contain fixups. More...
#include <dumper.h>
Public Member Functions | |
| void | AddSignal (offset_t off, offset_t len) |
| Add a relocation inside the image block. | |
| Block (std::string name, offset_t offset, std::shared_ptr< Linker::ActualImage > image, offset_t address, unsigned display_width, unsigned offset_display_width=8, unsigned address_display_width=-1u, unsigned position_display_width=-1u) | |
| void | Display (Dumper &dump) override |
Public Member Functions inherited from Dumper::Region | |
| Region (std::string name, offset_t offset, offset_t length, unsigned display_width) | |
Public Member Functions inherited from Dumper::Container | |
| Container (std::string name="") | |
| std::shared_ptr< Field > | FindField (std::string name) |
| template<typename T > | |
| T | GetField (std::string name, offset_t default_value=T()) |
| void | AddField (std::shared_ptr< Field > field) |
| void | AddField (size_t index, std::shared_ptr< Field > field) |
| template<typename D , typename ... Ts> | |
| void | AddField (std::string label, std::shared_ptr< D > display, Ts... values) |
| template<typename D , typename ... Ts> | |
| void | AddOptionalField (std::string label, std::shared_ptr< D > display, Ts... values) |
| template<typename D , typename ... Ts> | |
| void | AddHiddenField (std::string label, std::shared_ptr< D > display, Ts... values) |
| template<typename D , typename ... Ts> | |
| void | InsertField (size_t index, std::string label, std::shared_ptr< D > display, Ts... values) |
| template<typename D , typename ... Ts> | |
| void | InsertOptionalField (size_t index, std::string label, std::shared_ptr< D > display, Ts... values) |
| template<typename D , typename ... Ts> | |
| void | InsertHiddenField (size_t index, std::string label, std::shared_ptr< D > display, Ts... values) |
Static Public Member Functions | |
| static std::shared_ptr< Block > | Make (std::string name, offset_t offset, std::shared_ptr< Linker::ActualImage > image, offset_t address, unsigned display_width, unsigned offset_display_width=8, unsigned address_display_width=-1u, unsigned position_display_width=-1u) |
Static Public Member Functions inherited from Dumper::Region | |
| static std::shared_ptr< Region > | Make (std::string name, offset_t offset, offset_t length, unsigned display_width) |
Public Attributes | |
| unsigned | offset_display_width |
| Displaying in-file offsets. | |
| unsigned | position_display_width |
| Displaying in-segment positions. | |
| unsigned | address_display_width |
| Displaying in-memory addresses. | |
| std::shared_ptr< Linker::ActualImage > | image |
| std::set< offset_t > | signal_starts |
| std::set< offset_t > | signal_ends |
Public Attributes inherited from Dumper::Container | |
| std::string | name |
| std::map< std::string, std::shared_ptr< Field > > | field_names |
| std::vector< std::shared_ptr< Field > > | fields |
A region within a file that can be dumped, decompiled, and it may contain fixups.
|
inline |
Add a relocation inside the image block.
When displaying a dump of a block, the relocation zones can be signalled, for example via underlining. This method is named to reflect this signalling.
|
overridevirtual |
Reimplemented from Dumper::Container.