#include <ComHeaderDirectory.h>
Public Member Functions | |
| dword | getCodeManagerTableSize () const |
| Get the COM+ descriptor's CodeManagerTable (Size) value. | |
| dword | getCodeManagerTableVa () const |
| Get the COM+ descriptor's CodeManagerTable (Virtual Address) value. | |
| dword | getEntryPointToken () const |
| Get the COM+ descriptor's EntryPointToken value. | |
| dword | getExportAddressTableJumpsSize () const |
| Get the COM+ descriptor's ExportAddressTable (Size) value. | |
| dword | getExportAddressTableJumpsVa () const |
| Get the COM+ descriptor's ExportAddressTable (Virtual Address) value. | |
| dword | getFlags () const |
| Get the COM+ descriptor's Flags value. | |
| word | getMajorRuntimeVersion () const |
| Get the COM+ descriptor's MajorRuntimeVersion value. | |
| dword | getManagedNativeHeaderSize () const |
| Get the COM+ descriptor's ManagedNativeHeader (Size) value. | |
| dword | getManagedNativeHeaderVa () const |
| Get the COM+ descriptor's ManagedNativeHeader (Virtual Address) value. | |
| dword | getMetaDataSize () const |
| Get the COM+ descriptor's MetaData (Size) value. | |
| dword | getMetaDataVa () const |
| Get the COM+ descriptor's MetaData (Virtual Address) value. | |
| word | getMinorRuntimeVersion () const |
| Get the COM+ descriptor's MinorRuntimeVersion value. | |
| dword | getResourcesSize () |
| Get the COM+ descriptor's Resources (Size) value. | |
| dword | getResourcesVa () const |
| Get the COM+ descriptor's Resources (Virtual Address) value. | |
| dword | getSizeOfHeader () const |
| Get the COM+ descriptor's SizeOfHeader (cb) value. | |
| dword | getStrongNameSignagureSize () const |
| Get the COM+ descriptor's StrongNameSignature (Size) value. | |
| dword | getStrongNameSignatureVa () const |
| Get the COM+ descriptor's StrongNameSignature (Virtual Address) value. | |
| dword | getVTableFixupsSize () const |
| Get the COM+ descriptor's VTableFixup (Size) value. | |
| dword | getVTableFixupsVa () const |
| Get the COM+ descriptor's VTableFixup (Virtual Address) value. | |
| int | read (const std::string &strFilename, unsigned int uiOffset, unsigned int uiSize) |
| Read a file's COM+ runtime descriptor directory. | |
| void | rebuild (std::vector< byte > &vBuffer) const |
| Rebuild the COM+ descriptor. | |
| void | setCodeManagerTableSize (dword dwValue) |
| Change the COM+ descriptor's CodeManagerTable (Size) value. | |
| void | setCodeManagerTableVa (dword dwValue) |
| Change the COM+ descriptor's CodeManagerTable (VirtualAddress) value. | |
| void | setEntryPointToken (dword dwValue) |
| Change the COM+ descriptor's EntryPointToken value. | |
| void | setExportAddressTableJumpsSize (dword dwValue) |
| Change the COM+ descriptor's ExportAddressTableJumps (Size) value. | |
| void | setExportAddressTableJumpsVa (dword dwValue) |
| Change the COM+ descriptor's ExportAddressTableJumps (VirtualAddress) value. | |
| void | setFlags (dword dwValue) |
| Change the COM+ descriptor's Flags value. | |
| void | setMajorRuntimeVersion (word wValue) |
| Change the COM+ descriptor's MajorRuntimeVersion value. | |
| void | setManagedNativeHeaderSize (dword dwValue) |
| Change the COM+ descriptor's ManagedNativeHeader (Size) value. | |
| void | setManagedNativeHeaderVa (dword dwValue) |
| Change the COM+ descriptor's ManagedNativeHeader (VirtualAddress) value. | |
| void | setMetaDataSize (dword dwValue) |
| Change the COM+ descriptor's MetaData (Size) value. | |
| void | setMetaDataVa (dword dwValue) |
| Change the COM+ descriptor's MetaData (VirtualAddress) value. | |
| void | setMinorRuntimeVersion (word wValue) |
| Change the COM+ descriptor's MinorRuntimeVersion value. | |
| void | setResourcesSize (dword dwValue) |
| Change the COM+ descriptor's Resources (Size) value. | |
| void | setResourcesVa (dword dwValue) |
| Change the COM+ descriptor's Resources (VirtualAddress) value. | |
| void | setSizeOfHeader (dword dwValue) |
| Change the COM+ descriptor's SizeOfHeader (cb) value. | |
| void | setStrongNameSignagureSize (dword dwValue) |
| Change the COM+ descriptor's StrongNameSignatureVa (Size) value. | |
| void | setStrongNameSignatureVa (dword dwValue) |
| Change the COM+ descriptor's StrongNameSignatureVa (VirtualAddress) value. | |
| void | setVTableFixupsSize (dword dwValue) |
| Change the COM+ descriptor's VTableFixups (Size) value. | |
| void | setVTableFixupsVa (dword dwValue) |
| Change the COM+ descriptor's VTableFixups (VirtualAddress) value. | |
| unsigned int | size () const |
| Returns the size of the current COM+ descriptor. | |
| int | write (const std::string &strFilename, unsigned int dwOffset) const |
| Writes the current COM+ descriptor directory to a file. | |
Private Attributes | |
| PELIB_IMAGE_COR20_HEADER | m_ichComHeader |
| The COM+ descriptor. | |
This class handles the COM+ Descriptor directory which was added to PE files which work with the .NET runtime modules.
|
|
Get the COM+ descriptor's CodeManagerTable (Size) value.
|
|
|
Get the COM+ descriptor's CodeManagerTable (Virtual Address) value.
|
|
|
Get the COM+ descriptor's EntryPointToken value.
|
|
|
Get the COM+ descriptor's ExportAddressTable (Size) value.
|
|
|
Get the COM+ descriptor's ExportAddressTable (Virtual Address) value.
|
|
|
Get the COM+ descriptor's Flags value.
|
|
|
Get the COM+ descriptor's MajorRuntimeVersion value.
|
|
|
Get the COM+ descriptor's ManagedNativeHeader (Size) value.
|
|
|
Get the COM+ descriptor's ManagedNativeHeader (Virtual Address) value.
|
|
|
Get the COM+ descriptor's MetaData (Size) value.
|
|
|
Get the COM+ descriptor's MetaData (Virtual Address) value.
|
|
|
Get the COM+ descriptor's MinorRuntimeVersion value.
|
|
|
Get the COM+ descriptor's Resources (Size) value.
|
|
|
Get the COM+ descriptor's Resources (Virtual Address) value.
|
|
|
Get the COM+ descriptor's SizeOfHeader (cb) value.
|
|
|
Get the COM+ descriptor's StrongNameSignature (Size) value.
|
|
|
Get the COM+ descriptor's StrongNameSignature (Virtual Address) value.
|
|
|
Get the COM+ descriptor's VTableFixup (Size) value.
|
|
|
Get the COM+ descriptor's VTableFixup (Virtual Address) value.
|
|
||||||||||||||||
|
Read a file's COM+ runtime descriptor directory. Reads a file's COM+ descriptor.
|
|
|
Rebuild the COM+ descriptor. Rebuilds the current COM+ descriptor.
|
|
|
Change the COM+ descriptor's CodeManagerTable (Size) value.
|
|
|
Change the COM+ descriptor's CodeManagerTable (VirtualAddress) value.
|
|
|
Change the COM+ descriptor's EntryPointToken value.
|
|
|
Change the COM+ descriptor's ExportAddressTableJumps (Size) value.
|
|
|
Change the COM+ descriptor's ExportAddressTableJumps (VirtualAddress) value.
|
|
|
Change the COM+ descriptor's Flags value.
|
|
|
Change the COM+ descriptor's MajorRuntimeVersion value.
|
|
|
Change the COM+ descriptor's ManagedNativeHeader (Size) value.
|
|
|
Change the COM+ descriptor's ManagedNativeHeader (VirtualAddress) value.
|
|
|
Change the COM+ descriptor's MetaData (Size) value.
|
|
|
Change the COM+ descriptor's MetaData (VirtualAddress) value.
|
|
|
Change the COM+ descriptor's MinorRuntimeVersion value.
|
|
|
Change the COM+ descriptor's Resources (Size) value.
|
|
|
Change the COM+ descriptor's Resources (VirtualAddress) value.
|
|
|
Change the COM+ descriptor's SizeOfHeader (cb) value.
|
|
|
Change the COM+ descriptor's StrongNameSignatureVa (Size) value.
|
|
|
Change the COM+ descriptor's StrongNameSignatureVa (VirtualAddress) value.
|
|
|
Change the COM+ descriptor's VTableFixups (Size) value.
|
|
|
Change the COM+ descriptor's VTableFixups (VirtualAddress) value.
|
|
|
Returns the size of the current COM+ descriptor.
|
|
||||||||||||
|
Writes the current COM+ descriptor directory to a file.
Here is the call graph for this function: ![]() |
1.3.7