C# Class PERWAPI.PEReader

Inheritance: System.IO.BinaryReader
Afficher le fichier Open project: xored/f4 Class Usage Examples

Méthodes publiques

Méthode Description
GetGUID ( ) : System.Guid
GetUserString ( ) : string
ReadByteCodes ( MethodDef meth, uint rva ) : void
ReadPEFile ( string filename, bool skipBody ) : PEFile

Private Methods

Méthode Description
CheckForRefMerges ( ) : void
CodedIndex ( CIx code, uint ix ) : uint
CodedTable ( CIx code, uint ix ) : MDTable
DoByteCodes ( uint len, MethodDef thisMeth ) : PERWAPI.CILInstruction[]
FirstBlobByte ( uint ix ) : byte
GetAssemblyRefNames ( ) : string[]
GetAssemblyRefs ( ) : AssemblyRef[]
GetBlob ( ) : byte[]
GetBlob ( uint ix ) : byte[]
GetBlobConst ( int constType ) : Constant
GetBlobIx ( ) : uint
GetBlobNativeType ( ) : NativeType
GetBlobNativeType ( uint blobIx ) : NativeType
GetBlobString ( ) : string
GetBlobType ( ) : Type
GetBlobType ( uint blobIx ) : Type
GetCodedElement ( CIx code, uint ix ) : MetaDataElement
GetCodedIndex ( CIx codedIx ) : uint
GetDataConstant ( uint rva, Type constType ) : DataConstant
GetElement ( MDTable tabIx, uint ix ) : MetaDataElement
GetExportedInterface ( string filename ) : ReferenceScope
GetFieldType ( uint blobIx ) : Type
GetFile ( string filename ) : FileStream
GetFileDesc ( string name ) : ModuleFile
GetGUIDIx ( ) : uint
GetGenericParams ( MethodDef meth ) : void
GetIndex ( MDTable tabIx ) : uint
GetListOfType ( ) : Type[]
GetOffset ( uint rva ) : uint
GetResource ( uint offset ) : byte[]
GetSection ( uint rva ) : Section
GetString ( ) : string
GetString ( uint ix ) : string
GetStringIx ( ) : uint
GetTableSize ( MDTable tabIx ) : uint
GetTokenElement ( uint token ) : MetaDataElement
InputError ( ) : void
InsertInTable ( MDTable tabIx, uint ix, MetaDataElement elem ) : void
IsFieldSig ( uint blobIx ) : bool
MakeCodedIndex ( CIx code, MDTable tab, uint ix ) : uint
MetaDataError ( string msg ) : void
PEReader ( PEFile pefile, System file, bool refs, bool skipBody ) : System
ReadCLIHeader ( ) : void
ReadConst ( int constType, BinaryReader blob ) : Constant
ReadDOSHeader ( ) : void
ReadFileHeader ( ) : void
ReadLocalSig ( uint sigIx ) : Local[]
ReadMetaData ( ) : void
ReadMetaDataTableRefs ( ) : void
ReadMetaDataTables ( ) : void
ReadMethSig ( Method currMeth, bool firstByteRead ) : MethSig
ReadMethSig ( Method thisMeth, string name, uint blobIx ) : MethSig
ReadMethSig ( Method thisMeth, uint blobIx ) : MethSig
ReadMethSpecSig ( uint blobIx ) : Type[]
ReadMethodImpls ( ClassDef theClass, uint classIx ) : void
ReadPropertySig ( uint sigIx, Property prop ) : void
ReadSectionHeaders ( ) : void
ReadStreamName ( ) : String
ReadTildeStreamStart ( ) : void
ReadZeros ( int num ) : void
ReplaceSig ( Signature sig, Type sigType ) : void
SetElementPosition ( MDTable tabIx, uint ix ) : void
SetThisScope ( ) : void
SetUpTableInfo ( ) : void

Method Details

GetGUID() public méthode

public GetGUID ( ) : System.Guid
Résultat System.Guid

GetUserString() public méthode

public GetUserString ( ) : string
Résultat string

ReadByteCodes() public méthode

public ReadByteCodes ( MethodDef meth, uint rva ) : void
meth MethodDef
rva uint
Résultat void

ReadPEFile() public static méthode

public static ReadPEFile ( string filename, bool skipBody ) : PEFile
filename string
skipBody bool
Résultat PEFile