|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Represents an entry into the binary, typically DLL exported procedures. More...
#include <neexe.h>
Public Types | |
| enum | entry_type { Unused , Fixed , Movable } |
| This field represents the type of the entry. More... | |
| enum | flag_type : uint8_t { Exported = 1 , SharedData = 2 } |
| Flags present in an entry. More... | |
| enum | export_type { NotExported , ExportByName , ExportByOrdinal } |
| enum | { WordCountShift = 3 , INT_3Fh = 0x3FCD } |
Public Member Functions | |
| Entry (unsigned type, uint8_t segment, unsigned flags, uint16_t offset) | |
| offset_t | GetEntrySize () const |
| Returns the size of an entry as stored in the file, without the first two bytes of the bundle. | |
| uint8_t | GetIndicatorByte () const |
| Retrieves the segment indicator byte. For Fixed entries, this the same as the segment number. | |
| void | WriteEntry (Linker::Writer &wr) const |
| Writes an entry within a bundle. | |
Static Public Member Functions | |
| static Entry | ReadEntry (Linker::Reader &rd, uint8_t indicator_byte) |
| Reads an entry within a bundle. | |
Public Attributes | |
| entry_type | type = Unused |
| The type of entry, based on the first byte in an entry bundle. | |
| uint8_t | segment = 0 |
| The number of the segment, 1 based. | |
| flag_type | flags = flag_type(0) |
| uint16_t | offset = 0 |
| Offset within the segment. | |
| export_type | export_state = NotExported |
| Whether the entry is exported. This is not actually stored in the entry table and its value is ignored during program generation. | |
| std::string | entry_name |
| The name of an exported entry. This is not actually stored in the entry table and its value is ignored during program generation. | |
| bool | same_bundle = false |
| Convenience field to signify this entry is part of the same bundle as the previous one. | |
Represents an entry into the binary, typically DLL exported procedures.
| anonymous enum |
| enum Microsoft::NEFormat::Entry::flag_type : uint8_t |