Go to the documentation of this file.
34 #ifndef TTA_TPEF_READER_HH
35 #define TTA_TPEF_READER_HH
83 Byte aSpaceSectionId)
const;
HalfWord SectionId
Type for storing binary file section ids.
static BinaryReader * instance()
void addSectionSize(const Section *sect, Word length)
ASpaceSection * aSpaceSection() const
std::map< const Section *, Word > sectionSizes_
Cache of sizes in addresses of read sections.
static TPEFReader * proto_
Prototype instance registered into BinaryReader.
TPEFReader & operator=(const TPEFReader &)
virtual bool isMyStreamType(BinaryStream &stream) const
Section * sectionOfAddress(const ASpaceElement *aSpaceId, AddressImage address) const
SectionId strTableId_
Identification code of string table containing section name strings.
Word FileOffset
Type for storing absolute file offsets.
Binary * binary_
Last or currently read binary.
virtual Binary * readData(BinaryStream &stream) const
UInt32 AddressImage
Type for storing addresses to memory image.
Section * readSection(BinaryStream &stream, FileOffset headerOffset, Byte stringTableId, Byte aSpaceSectionId) const
SectionId aSpaceId_
Identification code of address space section (there is only one at maximum).