public class PEHeader extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Reflection.PortableExecutable.PEHeader
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Reflection.Metadata, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Reflection.Metadata
|
static java.lang.String |
className
Qualified class name: System.Reflection.PortableExecutable.PEHeader
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PEHeader() |
PEHeader(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PEHeader |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PEHeader, a cast assert is made to check if types are compatible. |
int |
getAddressOfEntryPoint()
Gets the value of the .NET property AddressOfEntryPoint.
|
int |
getBaseOfCode()
Gets the value of the .NET property BaseOfCode.
|
int |
getBaseOfData()
Gets the value of the .NET property BaseOfData.
|
DirectoryEntry |
getBaseRelocationTableDirectory()
Gets the value of the .NET property BaseRelocationTableDirectory.
|
DirectoryEntry |
getBoundImportTableDirectory()
Gets the value of the .NET property BoundImportTableDirectory.
|
DirectoryEntry |
getCertificateTableDirectory()
Gets the value of the .NET property CertificateTableDirectory.
|
UInt32 |
getCheckSum()
Gets the value of the .NET property CheckSum.
|
DirectoryEntry |
getCopyrightTableDirectory()
Gets the value of the .NET property CopyrightTableDirectory.
|
DirectoryEntry |
getCorHeaderTableDirectory()
Gets the value of the .NET property CorHeaderTableDirectory.
|
DirectoryEntry |
getDebugTableDirectory()
Gets the value of the .NET property DebugTableDirectory.
|
DirectoryEntry |
getDelayImportTableDirectory()
Gets the value of the .NET property DelayImportTableDirectory.
|
DllCharacteristics |
getDllCharacteristics()
Gets the value of the .NET property DllCharacteristics.
|
DirectoryEntry |
getExceptionTableDirectory()
Gets the value of the .NET property ExceptionTableDirectory.
|
DirectoryEntry |
getExportTableDirectory()
Gets the value of the .NET property ExportTableDirectory.
|
int |
getFileAlignment()
Gets the value of the .NET property FileAlignment.
|
DirectoryEntry |
getGlobalPointerTableDirectory()
Gets the value of the .NET property GlobalPointerTableDirectory.
|
UInt64 |
getImageBase()
Gets the value of the .NET property ImageBase.
|
DirectoryEntry |
getImportAddressTableDirectory()
Gets the value of the .NET property ImportAddressTableDirectory.
|
DirectoryEntry |
getImportTableDirectory()
Gets the value of the .NET property ImportTableDirectory.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
DirectoryEntry |
getLoadConfigTableDirectory()
Gets the value of the .NET property LoadConfigTableDirectory.
|
PEMagic |
getMagic()
Gets the value of the .NET property Magic.
|
UInt16 |
getMajorImageVersion()
Gets the value of the .NET property MajorImageVersion.
|
byte |
getMajorLinkerVersion()
Gets the value of the .NET property MajorLinkerVersion.
|
UInt16 |
getMajorOperatingSystemVersion()
Gets the value of the .NET property MajorOperatingSystemVersion.
|
UInt16 |
getMajorSubsystemVersion()
Gets the value of the .NET property MajorSubsystemVersion.
|
UInt16 |
getMinorImageVersion()
Gets the value of the .NET property MinorImageVersion.
|
byte |
getMinorLinkerVersion()
Gets the value of the .NET property MinorLinkerVersion.
|
UInt16 |
getMinorOperatingSystemVersion()
Gets the value of the .NET property MinorOperatingSystemVersion.
|
UInt16 |
getMinorSubsystemVersion()
Gets the value of the .NET property MinorSubsystemVersion.
|
int |
getNumberOfRvaAndSizes()
Gets the value of the .NET property NumberOfRvaAndSizes.
|
DirectoryEntry |
getResourceTableDirectory()
Gets the value of the .NET property ResourceTableDirectory.
|
int |
getSectionAlignment()
Gets the value of the .NET property SectionAlignment.
|
int |
getSizeOfCode()
Gets the value of the .NET property SizeOfCode.
|
int |
getSizeOfHeaders()
Gets the value of the .NET property SizeOfHeaders.
|
UInt64 |
getSizeOfHeapCommit()
Gets the value of the .NET property SizeOfHeapCommit.
|
UInt64 |
getSizeOfHeapReserve()
Gets the value of the .NET property SizeOfHeapReserve.
|
int |
getSizeOfImage()
Gets the value of the .NET property SizeOfImage.
|
int |
getSizeOfInitializedData()
Gets the value of the .NET property SizeOfInitializedData.
|
UInt64 |
getSizeOfStackCommit()
Gets the value of the .NET property SizeOfStackCommit.
|
UInt64 |
getSizeOfStackReserve()
Gets the value of the .NET property SizeOfStackReserve.
|
int |
getSizeOfUninitializedData()
Gets the value of the .NET property SizeOfUninitializedData.
|
Subsystem |
getSubsystem()
Gets the value of the .NET property Subsystem.
|
DirectoryEntry |
getThreadLocalStorageTableDirectory()
Gets the value of the .NET property ThreadLocalStorageTableDirectory.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PEHeader()
throws java.lang.Throwable
java.lang.Throwablepublic PEHeader(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static PEHeader cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PEHeader, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPEHeader instancejava.lang.Throwable - in case of error during cast operationpublic int getAddressOfEntryPoint()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getBaseOfCode()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getBaseOfData()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getBaseRelocationTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getBoundImportTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getCertificateTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt32 getCheckSum() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getCopyrightTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getCorHeaderTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getDebugTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getDelayImportTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DllCharacteristics getDllCharacteristics() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getExceptionTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getExportTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getFileAlignment()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getGlobalPointerTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt64 getImageBase() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getImportAddressTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getImportTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic DirectoryEntry getLoadConfigTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PEMagic getMagic() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt16 getMajorImageVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte getMajorLinkerVersion()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt16 getMajorOperatingSystemVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt16 getMajorSubsystemVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt16 getMinorImageVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte getMinorLinkerVersion()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt16 getMinorOperatingSystemVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt16 getMinorSubsystemVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getNumberOfRvaAndSizes()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getResourceTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSectionAlignment()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSizeOfCode()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSizeOfHeaders()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt64 getSizeOfHeapCommit() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt64 getSizeOfHeapReserve() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSizeOfImage()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSizeOfInitializedData()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt64 getSizeOfStackCommit() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt64 getSizeOfStackReserve() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSizeOfUninitializedData()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Subsystem getSubsystem() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DirectoryEntry getThreadLocalStorageTableDirectory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object