42using ReferenceManager::SectionKey;
43using ReferenceManager::SectionIndexKey;
44using ReferenceManager::SectionOffsetKey;
45using 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));
void setReadPosition(unsigned int position)
unsigned int readPosition()
static void addObjectReference(SectionIndexKey key, const SafePointable *obj)
static const SafePointer null
The default SafePointer that is used in null references.
void setStartingAddress(AddressImage address)
void setFlags(Byte flagByte)
void setLink(const ReferenceManager::SafePointer *aLink)
void setASpace(const ReferenceManager::SafePointer *addrSpace)
void setName(const ReferenceManager::SafePointer *sectionName)
@ SF_VLEN
Contains elements with variable length.
static BinaryReader * instance()
virtual BinaryReader * parent() const
virtual void readData(BinaryStream &stream, Section *section) const
static Header header_
Stores values that are needed in actual SectionReader classes.
virtual ~TPEFSectionReader()
static const Header & header()
virtual void readInfo(BinaryStream &stream, Section *sect) const
Word FileOffset
Type for storing absolute file offsets.