C# Class TUP.AsmResolver.NET.BlobHeap

Represents the blob heap stream containing various values of many metadata members.
Inheritance: MetaDataStream
Afficher le fichier Open project: Rex-Hays/GNIDA Class Usage Examples

Méthodes publiques

Méthode Description
ClearCache ( ) : void
Dispose ( ) : void
GetBlob ( uint index ) : byte[]

Gets the blob value by it's signature/index.

GetBlobIndex ( byte blobValue ) : uint
GetBlobReader ( uint index ) : BlobSignatureReader

Gets the blob value by it's signature/index and creates a binary reader.

GetBlobReader ( uint index, IGenericContext instance ) : BlobSignatureReader

Gets the blob value by it's signature/index and creates a binary reader using a generic instance.

ReadConstantValue ( ElementType type, uint signature ) : object
ReadCustomAttributeSignature ( CustomAttribute parent, uint signature ) : CustomAttributeSignature
ReadGenericArgumentsSignature ( uint signature, IGenericContext context ) : TUP.AsmResolver.NET.Specialized.TypeReference[]
ReadMemberRefSignature ( uint sig, IGenericContext context ) : IMemberSignature
ReadPropertySignature ( uint signature, PropertyDefinition parentProperty ) : PropertySignature
ReadTypeSignature ( uint signature, IGenericContext paramProvider ) : TypeReference
ReadVariableSignature ( uint signature, MethodDefinition parentMethod ) : TUP.AsmResolver.NET.Specialized.MSIL.VariableDefinition[]
TryGetBlobReader ( uint index, BlobSignatureReader &reader ) : bool
TryGetBlobReader ( uint index, IGenericContext instance, BlobSignatureReader &reader ) : bool

Private Methods

Méthode Description
AddMissingGenericParameters ( IGenericParamProvider provider, int index ) : void
BlobHeap ( NETHeader netheader, int headeroffset, Structures rawHeader, string name ) : System
Initialize ( ) : void
ReadAllBlobs ( ) : void
Reconstruct ( ) : void

Method Details

ClearCache() public méthode

public ClearCache ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetBlob() public méthode

Gets the blob value by it's signature/index.
public GetBlob ( uint index ) : byte[]
index uint The index or signature to get the blob value from.
Résultat byte[]

GetBlobIndex() public méthode

public GetBlobIndex ( byte blobValue ) : uint
blobValue byte
Résultat uint

GetBlobReader() public méthode

Gets the blob value by it's signature/index and creates a binary reader.
public GetBlobReader ( uint index ) : BlobSignatureReader
index uint The index or signature to get the blob value from.
Résultat BlobSignatureReader

GetBlobReader() public méthode

Gets the blob value by it's signature/index and creates a binary reader using a generic instance.
public GetBlobReader ( uint index, IGenericContext instance ) : BlobSignatureReader
index uint The index or signature to get the blob value from.
instance IGenericContext The generic instance that is being used as a context.
Résultat BlobSignatureReader

ReadConstantValue() public méthode

public ReadConstantValue ( ElementType type, uint signature ) : object
type ElementType
signature uint
Résultat object

ReadCustomAttributeSignature() public méthode

public ReadCustomAttributeSignature ( CustomAttribute parent, uint signature ) : CustomAttributeSignature
parent TUP.AsmResolver.NET.Specialized.CustomAttribute
signature uint
Résultat TUP.AsmResolver.NET.Specialized.CustomAttributeSignature

ReadGenericArgumentsSignature() public méthode

public ReadGenericArgumentsSignature ( uint signature, IGenericContext context ) : TUP.AsmResolver.NET.Specialized.TypeReference[]
signature uint
context IGenericContext
Résultat TUP.AsmResolver.NET.Specialized.TypeReference[]

ReadMemberRefSignature() public méthode

public ReadMemberRefSignature ( uint sig, IGenericContext context ) : IMemberSignature
sig uint
context IGenericContext
Résultat IMemberSignature

ReadPropertySignature() public méthode

public ReadPropertySignature ( uint signature, PropertyDefinition parentProperty ) : PropertySignature
signature uint
parentProperty TUP.AsmResolver.NET.Specialized.PropertyDefinition
Résultat TUP.AsmResolver.NET.Specialized.PropertySignature

ReadTypeSignature() public méthode

public ReadTypeSignature ( uint signature, IGenericContext paramProvider ) : TypeReference
signature uint
paramProvider IGenericContext
Résultat TUP.AsmResolver.NET.Specialized.TypeReference

ReadVariableSignature() public méthode

public ReadVariableSignature ( uint signature, MethodDefinition parentMethod ) : TUP.AsmResolver.NET.Specialized.MSIL.VariableDefinition[]
signature uint
parentMethod TUP.AsmResolver.NET.Specialized.MethodDefinition
Résultat TUP.AsmResolver.NET.Specialized.MSIL.VariableDefinition[]

TryGetBlobReader() public méthode

public TryGetBlobReader ( uint index, BlobSignatureReader &reader ) : bool
index uint
reader BlobSignatureReader
Résultat bool

TryGetBlobReader() public méthode

public TryGetBlobReader ( uint index, IGenericContext instance, BlobSignatureReader &reader ) : bool
index uint
instance IGenericContext
reader BlobSignatureReader
Résultat bool