E32ImageHeader Class Reference
Structure for an executable image's header. This is extended by
E32ImageHeaderComp
and
E32ImageHeaderV
. All executables since Symbian OS version 8.1b have an header given by class
E32ImageHeaderV
.
Summary of an executable image structure...
-
Header, 0..iCodeOffset-1
-
Code part, iCodeOffset..iCodeOffset+iCodeSize-1
-
.text section, 0 + iTextSize
-
Import Address Table (IAT), iText + ?
-
Export Directory, iExportDirOffset + iExportDirCount*4 (in .text Section)
-
Rest of data, iCodeOffset+iCodeSize..EOF
-
.data section, iDataOffset + iDataSize
-
Import section, iImportOffset + sizeof(E32ImportSection)+?
-
Code relocation section, iCodeRelocOffset + sizeof(E32RelocSection)+?
-
Data relocation section, iDataRelocOffset + sizeof(E32RelocSection)+?
Member Functions Documentation
ABI()
TUint
|
ABI
|
(
|
)
|
const [inline]
|
Extract ABI type from
iFlags
.
ABIFromFlags(TUint)
TUint
|
ABIFromFlags
|
(
|
TUint
|
aFlags
|
)
|
[static, inline]
|
Extract ABI type from aFlags.
CompressionType()
TUint32
|
CompressionType
|
(
|
)
|
const [inline]
|
CpuIdentifier()
TCpu
|
CpuIdentifier
|
(
|
)
|
const [inline]
|
EntryPointFormat()
TUint
|
EntryPointFormat
|
(
|
)
|
const [inline]
|
Extract entrypoint format from
iFlags
.
EptFromFlags(TUint)
TUint
|
EptFromFlags
|
(
|
TUint
|
aFlags
|
)
|
[static, inline]
|
Extract entrypoint format from aFlags.
ExceptionDescriptor()
TUint32
|
ExceptionDescriptor
|
(
|
)
|
const [inline]
|
Return fffset in bytes from start of code section for the Exception Descriptor. Or zero if not present.
GetSecurityInfo(SSecurityInfo &)
HdrFmtFromFlags(TUint)
TUint
|
HdrFmtFromFlags
|
(
|
TUint
|
aFlags
|
)
|
[static, inline]
|
Extract header format from aFlags.
HeaderFormat()
TUint
|
HeaderFormat
|
(
|
)
|
const [inline]
|
Extract header format from
iFlags
.
ImpFmtFromFlags(TUint)
TUint
|
ImpFmtFromFlags
|
(
|
TUint
|
aFlags
|
)
|
[static, inline]
|
Extract import format from aFlags.
ImportFormat()
TUint
|
ImportFormat
|
(
|
)
|
const [inline]
|
Extract import format from
iFlags
.
ModuleVersion()
TUint32
|
ModuleVersion
|
(
|
)
|
const [inline]
|
New(E32ImageHeader *&, RFile &)
New(E32ImageHeader *&, TUint8 *, TUint32)
TotalSize()
TInt
|
TotalSize
|
(
|
)
|
const [inline]
|
Return size of this header.
UncompressedFileSize()
TInt
|
UncompressedFileSize
|
(
|
)
|
const [inline]
|
Return total size of file after decompression, or -1 if file not compressed.
ValidateHeader(TInt, TUint32 &)
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.