retdec
Public Member Functions | Public Attributes | List of all members
retdec::loader::ElfImage::SectionMapInfo Struct Reference
Collaboration diagram for retdec::loader::ElfImage::SectionMapInfo:
Collaboration graph
[legend]

Public Member Functions

 SectionMapInfo (const retdec::fileformat::Section *section_, std::uint64_t offset_, std::uint64_t size_)
 
 SectionMapInfo (const SectionMapInfo &mapInfo)
 

Public Attributes

const retdec::fileformat::Sectionsection
 
std::uint64_t offset
 
std::uint64_t size
 

Detailed Description

Holds information about mapping of section in segment. This information consits of pointer to fileformat section, offset of the section in the file and size of the section in the file. The last 2 mentioned does not have to be equal to the offset and size in the section table. Section might be on the boundary of the segment and therefore can start at bigger offset or end prematurely. For BSS sections, size represents virtual size of BSS section.

Constructor & Destructor Documentation

◆ SectionMapInfo() [1/2]

retdec::loader::ElfImage::SectionMapInfo::SectionMapInfo ( const retdec::fileformat::Section section_,
std::uint64_t  offset_,
std::uint64_t  size_ 
)
inline

◆ SectionMapInfo() [2/2]

retdec::loader::ElfImage::SectionMapInfo::SectionMapInfo ( const SectionMapInfo mapInfo)
inline

Member Data Documentation

◆ offset

std::uint64_t retdec::loader::ElfImage::SectionMapInfo::offset

◆ section

const retdec::fileformat::Section* retdec::loader::ElfImage::SectionMapInfo::section

◆ size

std::uint64_t retdec::loader::ElfImage::SectionMapInfo::size

The documentation for this struct was generated from the following file: