retdec
Private Attributes | List of all members
retdec::fileformat::CLRHeader Class Reference

#include <clr_header.h>

Collaboration diagram for retdec::fileformat::CLRHeader:
Collaboration graph
[legend]

Public Member Functions

Getters
std::uint64_t getHeaderSize () const
 
std::uint64_t getMajorRuntimeVersion () const
 
std::uint64_t getMinorRuntimeVersion () const
 
std::uint64_t getMetadataDirectoryAddress () const
 
std::uint64_t getMetadataDirectorySize () const
 
std::uint64_t getFlags () const
 
std::uint64_t getEntryPointToken () const
 
std::uint64_t getResourcesAddress () const
 
std::uint64_t getResourcesSize () const
 
std::uint64_t getStrongNameSignatureAddress () const
 
std::uint64_t getStrongNameSignatureSize () const
 
std::uint64_t getCodeManagerTableAddress () const
 
std::uint64_t getCodeManagerTableSize () const
 
std::uint64_t getVTableFixupsDirectoryAddress () const
 
std::uint64_t getVTableFixupsDirectorySize () const
 
std::uint64_t getExportAddressTableAddress () const
 
std::uint64_t getExportAddressTableSize () const
 
std::uint64_t getPrecompileHeaderAddress () const
 
std::uint64_t getPrecompileHeaderSize () const
 
Setters
void setHeaderSize (std::uint64_t clrHeaderSize)
 
void setMajorRuntimeVersion (std::uint64_t clrMajorRuntimeVersion)
 
void setMinorRuntimeVersion (std::uint64_t clrMinorRuntimeVersion)
 
void setMetadataDirectoryAddress (std::uint64_t clrMetadataDirectoryAddress)
 
void setMetadataDirectorySize (std::uint64_t clrMetadataDirectorySize)
 
void setFlags (std::uint64_t clrFlags)
 
void setEntryPointToken (std::uint64_t clrEntryPointToken)
 
void setResourcesAddress (std::uint64_t clrResourcesAddress)
 
void setResourcesSize (std::uint64_t clrResourcesSize)
 
void setStrongNameSignatureAddress (std::uint64_t clrStrongNameSignatureAddress)
 
void setStrongNameSignatureSize (std::uint64_t clrStrongNameSignatureSize)
 
void setCodeManagerTableAddress (std::uint64_t clrCodeManagerTableAddress)
 
void setCodeManagerTableSize (std::uint64_t clrCodeManagerTableSize)
 
void setVTableFixupsDirectoryAddress (std::uint64_t clrVTableFixupsDirectoryAddress)
 
void setVTableFixupsDirectorySize (std::uint64_t clrVTableFixupsDirectorySize)
 
void setExportAddressTableAddress (std::uint64_t clrExportAddressTableAddress)
 
void setExportAddressTableSize (std::uint64_t clrExportAddressTableSize)
 
void setPrecompileHeaderAddress (std::uint64_t clrPrecompileHeaderAddress)
 
void setPrecompileHeaderSize (std::uint64_t clrPrecompileHeaderSize)
 

Private Attributes

std::uint64_t headerSize
 
std::uint64_t majorRuntimeVersion
 
std::uint64_t minorRuntimeVersion
 
std::uint64_t metadataDirectoryAddress
 
std::uint64_t metadataDirectorySize
 
std::uint64_t flags
 
std::uint64_t entryPointToken
 
std::uint64_t resourcesAddress
 
std::uint64_t resourcesSize
 
std::uint64_t strongNameSignatureAddress
 
std::uint64_t strongNameSignatureSize
 
std::uint64_t codeManagerTableAddress
 
std::uint64_t codeManagerTableSize
 
std::uint64_t vTableFixupsDirectoryAddress
 
std::uint64_t vTableFixupsDirectorySize
 
std::uint64_t exportAddressTableAddress
 
std::uint64_t exportAddressTableSize
 
std::uint64_t precompileHeaderAddress
 
std::uint64_t precompileHeaderSize
 

Detailed Description

CLR header

Member Function Documentation

◆ getCodeManagerTableAddress()

std::uint64_t retdec::fileformat::CLRHeader::getCodeManagerTableAddress ( ) const

Returns the code manager table address.

Returns
Code manager table address.

◆ getCodeManagerTableSize()

std::uint64_t retdec::fileformat::CLRHeader::getCodeManagerTableSize ( ) const

Returns the code manager table size.

Returns
Code manager table size.

◆ getEntryPointToken()

std::uint64_t retdec::fileformat::CLRHeader::getEntryPointToken ( ) const

Returns the entry point token.

Returns
Entry point token.

◆ getExportAddressTableAddress()

std::uint64_t retdec::fileformat::CLRHeader::getExportAddressTableAddress ( ) const

Returns the export address table address.

Returns
Export address table address.

◆ getExportAddressTableSize()

std::uint64_t retdec::fileformat::CLRHeader::getExportAddressTableSize ( ) const

Returns the export address table size.

Returns
Export address table size.

◆ getFlags()

std::uint64_t retdec::fileformat::CLRHeader::getFlags ( ) const

Returns the flags.

Returns
The flags.

◆ getHeaderSize()

std::uint64_t retdec::fileformat::CLRHeader::getHeaderSize ( ) const

Returns the size of the header.

Returns
Size of the header.

◆ getMajorRuntimeVersion()

std::uint64_t retdec::fileformat::CLRHeader::getMajorRuntimeVersion ( ) const

Returns the major runtime version.

Returns
Major runtime version.

◆ getMetadataDirectoryAddress()

std::uint64_t retdec::fileformat::CLRHeader::getMetadataDirectoryAddress ( ) const

Returns the metadata directory address.

Returns
Metadata directory address.

◆ getMetadataDirectorySize()

std::uint64_t retdec::fileformat::CLRHeader::getMetadataDirectorySize ( ) const

Returns the metadata directory size.

Returns
Metadata directory size.

◆ getMinorRuntimeVersion()

std::uint64_t retdec::fileformat::CLRHeader::getMinorRuntimeVersion ( ) const

Returns the minor runtime version.

Returns
Minor runtime version.

◆ getPrecompileHeaderAddress()

std::uint64_t retdec::fileformat::CLRHeader::getPrecompileHeaderAddress ( ) const

Returns the precompile header address.

Returns
Precompile header address.

◆ getPrecompileHeaderSize()

std::uint64_t retdec::fileformat::CLRHeader::getPrecompileHeaderSize ( ) const

Returns the precompile header size.

Returns
Precompile header size.

◆ getResourcesAddress()

std::uint64_t retdec::fileformat::CLRHeader::getResourcesAddress ( ) const

Returns the resources address.

Returns
Resources address.

◆ getResourcesSize()

std::uint64_t retdec::fileformat::CLRHeader::getResourcesSize ( ) const

Returns the resources size.

Returns
Resources size.

◆ getStrongNameSignatureAddress()

std::uint64_t retdec::fileformat::CLRHeader::getStrongNameSignatureAddress ( ) const

Returns the strong name signature address.

Returns
String name signature access.

◆ getStrongNameSignatureSize()

std::uint64_t retdec::fileformat::CLRHeader::getStrongNameSignatureSize ( ) const

Returns the strong name signature size.

Returns
String name signature size.

◆ getVTableFixupsDirectoryAddress()

std::uint64_t retdec::fileformat::CLRHeader::getVTableFixupsDirectoryAddress ( ) const

Returns the v-table fixups directory address.

Returns
V-table fixups directory address.

◆ getVTableFixupsDirectorySize()

std::uint64_t retdec::fileformat::CLRHeader::getVTableFixupsDirectorySize ( ) const

Returns the v-table fixups directory size.

Returns
V-table fixups directory size.

◆ setCodeManagerTableAddress()

void retdec::fileformat::CLRHeader::setCodeManagerTableAddress ( std::uint64_t  clrCodeManagerTableAddress)

Sets the code manager table address.

Parameters
clrCodeManagerTableAddressThe code manager table address.

◆ setCodeManagerTableSize()

void retdec::fileformat::CLRHeader::setCodeManagerTableSize ( std::uint64_t  clrCodeManagerTableSize)

Sets the code manager table size.

Parameters
clrCodeManagerTableSizeThe code manager table size.

◆ setEntryPointToken()

void retdec::fileformat::CLRHeader::setEntryPointToken ( std::uint64_t  clrEntryPointToken)

Sets the entry point token.

Parameters
clrEntryPointTokenThe entry point token.

◆ setExportAddressTableAddress()

void retdec::fileformat::CLRHeader::setExportAddressTableAddress ( std::uint64_t  clrExportAddressTableAddress)

Sets the export address table address.

Parameters
clrExportAddressTableAddressThe export address table address.

◆ setExportAddressTableSize()

void retdec::fileformat::CLRHeader::setExportAddressTableSize ( std::uint64_t  clrExportAddressTableSize)

Sets the export address table size.

Parameters
clrExportAddressTableSizeThe export address table size.

◆ setFlags()

void retdec::fileformat::CLRHeader::setFlags ( std::uint64_t  clrFlags)

Sets the flags.

Parameters
clrFlagsThe flags.

◆ setHeaderSize()

void retdec::fileformat::CLRHeader::setHeaderSize ( std::uint64_t  clrHeaderSize)

Sets the header size.

Parameters
clrHeaderSizeHeader size.

◆ setMajorRuntimeVersion()

void retdec::fileformat::CLRHeader::setMajorRuntimeVersion ( std::uint64_t  clrMajorRuntimeVersion)

Sets the major runtime version.

Parameters
clrMajorRuntimeVersionMajor runtime version.

◆ setMetadataDirectoryAddress()

void retdec::fileformat::CLRHeader::setMetadataDirectoryAddress ( std::uint64_t  clrMetadataDirectoryAddress)

Sets the metadata directory address.

Parameters
clrMetadataDirectoryAddressMetadata directory address.

◆ setMetadataDirectorySize()

void retdec::fileformat::CLRHeader::setMetadataDirectorySize ( std::uint64_t  clrMetadataDirectorySize)

Sets the metadata directory size.

Parameters
clrMetadataDirectorySizeMetadata directory size.

◆ setMinorRuntimeVersion()

void retdec::fileformat::CLRHeader::setMinorRuntimeVersion ( std::uint64_t  clrMinorRuntimeVersion)

Sets the minor runtime version.

Parameters
clrMinorRuntimeVersionMinor runtime version.

◆ setPrecompileHeaderAddress()

void retdec::fileformat::CLRHeader::setPrecompileHeaderAddress ( std::uint64_t  clrPrecompileHeaderAddress)

Sets the precompile header address.

Parameters
clrPrecompileHeaderAddressThe precompile header address.

◆ setPrecompileHeaderSize()

void retdec::fileformat::CLRHeader::setPrecompileHeaderSize ( std::uint64_t  clrPrecompileHeaderSize)

Sets the precompile header size.

Parameters
clrPrecompileHeaderSizeThe precompile header size.

◆ setResourcesAddress()

void retdec::fileformat::CLRHeader::setResourcesAddress ( std::uint64_t  clrResourcesAddress)

Sets the resources address.

Parameters
clrResourcesAddressThe resources address.

◆ setResourcesSize()

void retdec::fileformat::CLRHeader::setResourcesSize ( std::uint64_t  clrResourcesSize)

Sets the resources size.

Parameters
clrResourcesSizeThe resources size.

◆ setStrongNameSignatureAddress()

void retdec::fileformat::CLRHeader::setStrongNameSignatureAddress ( std::uint64_t  clrStrongNameSignatureAddress)

Sets the strong name signature address.

Parameters
clrStrongNameSignatureAddressThe strong name signature address.

◆ setStrongNameSignatureSize()

void retdec::fileformat::CLRHeader::setStrongNameSignatureSize ( std::uint64_t  clrStrongNameSignatureSize)

Sets the strong name signature size.

Parameters
clrStrongNameSignatureSizeThe strong name signature size.

◆ setVTableFixupsDirectoryAddress()

void retdec::fileformat::CLRHeader::setVTableFixupsDirectoryAddress ( std::uint64_t  clrVTableFixupsDirectoryAddress)

Sets the v-table fixups directory address.

Parameters
clrVTableFixupsDirectoryAddressThe v-table fixups directory address.

◆ setVTableFixupsDirectorySize()

void retdec::fileformat::CLRHeader::setVTableFixupsDirectorySize ( std::uint64_t  clrVTableFixupsDirectorySize)

Sets the v-table fixups directory size.

Parameters
clrVTableFixupsDirectorySizeThe v-table fixups directory size.

Member Data Documentation

◆ codeManagerTableAddress

std::uint64_t retdec::fileformat::CLRHeader::codeManagerTableAddress
private

◆ codeManagerTableSize

std::uint64_t retdec::fileformat::CLRHeader::codeManagerTableSize
private

◆ entryPointToken

std::uint64_t retdec::fileformat::CLRHeader::entryPointToken
private

◆ exportAddressTableAddress

std::uint64_t retdec::fileformat::CLRHeader::exportAddressTableAddress
private

◆ exportAddressTableSize

std::uint64_t retdec::fileformat::CLRHeader::exportAddressTableSize
private

◆ flags

std::uint64_t retdec::fileformat::CLRHeader::flags
private

◆ headerSize

std::uint64_t retdec::fileformat::CLRHeader::headerSize
private

◆ majorRuntimeVersion

std::uint64_t retdec::fileformat::CLRHeader::majorRuntimeVersion
private

◆ metadataDirectoryAddress

std::uint64_t retdec::fileformat::CLRHeader::metadataDirectoryAddress
private

◆ metadataDirectorySize

std::uint64_t retdec::fileformat::CLRHeader::metadataDirectorySize
private

◆ minorRuntimeVersion

std::uint64_t retdec::fileformat::CLRHeader::minorRuntimeVersion
private

◆ precompileHeaderAddress

std::uint64_t retdec::fileformat::CLRHeader::precompileHeaderAddress
private

◆ precompileHeaderSize

std::uint64_t retdec::fileformat::CLRHeader::precompileHeaderSize
private

◆ resourcesAddress

std::uint64_t retdec::fileformat::CLRHeader::resourcesAddress
private

◆ resourcesSize

std::uint64_t retdec::fileformat::CLRHeader::resourcesSize
private

◆ strongNameSignatureAddress

std::uint64_t retdec::fileformat::CLRHeader::strongNameSignatureAddress
private

◆ strongNameSignatureSize

std::uint64_t retdec::fileformat::CLRHeader::strongNameSignatureSize
private

◆ vTableFixupsDirectoryAddress

std::uint64_t retdec::fileformat::CLRHeader::vTableFixupsDirectoryAddress
private

◆ vTableFixupsDirectorySize

std::uint64_t retdec::fileformat::CLRHeader::vTableFixupsDirectorySize
private

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