Go to the documentation of this file.
42 using ReferenceManager::SectionKey;
43 using ReferenceManager::SectionIndexKey;
44 using ReferenceManager::SectionOffsetKey;
45 using ReferenceManager::SafePointer;
97 "read SF_VLEN flag doesn't match for section");
109 section->
setLink(CREATE_SAFEPOINTER(linkKey));
115 section->
setASpace(CREATE_SAFEPOINTER(aSpaceKey));
119 Word sectionOffsetOfName = stream.
readWord();
123 sectionOffsetOfName);
125 section->
setName(CREATE_SAFEPOINTER(nameKey));
static BinaryReader * instance()
unsigned int readPosition()
void setReadPosition(unsigned int position)
virtual ~TPEFSectionReader()
static const SafePointer null
The default SafePointer that is used in null references.
void setFlags(Byte flagByte)
static void addObjectReference(SectionIndexKey key, const SafePointable *obj)
virtual void readInfo(BinaryStream &stream, Section *sect) const
Word FileOffset
Type for storing absolute file offsets.
void setName(const ReferenceManager::SafePointer *sectionName)
void setStartingAddress(AddressImage address)
virtual BinaryReader * parent() const
@ SF_VLEN
Contains elements with variable length.
virtual void readData(BinaryStream &stream, Section *section) const
void setASpace(const ReferenceManager::SafePointer *addrSpace)
void setLink(const ReferenceManager::SafePointer *aLink)
static Header header_
Stores values that are needed in actual SectionReader classes.
static const Header & header()