Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
ElfMapper Class Reference
+ Collaboration diagram for ElfMapper:

Public Member Functions

 ElfMapper (const ElfReader *reader)
 
bool map ()
 

Public Attributes

QFile file
 
QByteArray raw
 
union { 
 
   const char *   start 
 
   const uchar *   ustart 
 
};  
 
quint64 fdlen
 

Detailed Description

Definition at line 81 of file elfreader.cpp.

Constructor & Destructor Documentation

◆ ElfMapper()

ElfMapper::ElfMapper ( const ElfReader reader)
inline

Definition at line 84 of file elfreader.cpp.

Member Function Documentation

◆ map()

bool ElfMapper::map ( )
inline

Definition at line 86 of file elfreader.cpp.

References QByteArray::constData(), fdlen, file, QFileDevice::map(), QFile::open(), raw, QIODevice::readAll(), QIODeviceBase::ReadOnly, QByteArray::size(), QFile::size(), and ustart.

+ Here is the call graph for this function:

Member Data Documentation

◆ [union]

union { ... } ElfMapper

◆ fdlen

quint64 ElfMapper::fdlen

Definition at line 106 of file elfreader.cpp.

Referenced by map().

◆ file

QFile ElfMapper::file

Definition at line 103 of file elfreader.cpp.

Referenced by map().

◆ raw

QByteArray ElfMapper::raw

Definition at line 104 of file elfreader.cpp.

Referenced by map().

◆ start

const char* ElfMapper::start

Definition at line 105 of file elfreader.cpp.

◆ ustart

const uchar* ElfMapper::ustart

Definition at line 105 of file elfreader.cpp.

Referenced by map().


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